nashorn/test/script/basic/moduleload.js.EXPECTED
author attila
Thu, 04 Apr 2013 15:53:26 +0200
changeset 16777 207a993adb9a
parent 16147 e63b63819133
permissions -rw-r--r--
8011544: Allow subclassing Java classes from script without creating instances Reviewed-by: jlaskey, sundar
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     1
function (exports) {
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     2
  exports.func = function() {
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     3
     print("module.func called");
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     4
  }
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     5
}
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     6
module.func called