ramblings/oxygen/js-options/hello.js

11 lines
347 B
JavaScript

hello = function () {
include('options.js');
var options = new Options(authorAccess, 'hello');
options.setOption('Hello', 'World');
options.setOption('See you later', 'aligator');
var myOptions = options.getOptions();
for (var key in myOptions) {
var value = myOptions[key];
Packages.java.lang.System.out.println(key + ' ' + value);
}
}