add a own ScriptFunction to the nashorn global
buddhi mihara
buddhi.mihara at live.com
Thu Dec 5 21:51:03 PST 2013
i used the second way you suggested.but i need to add properties to the prototype of the function.how could i do that.in global funcions Oracle implemented in nashorn such as NativeBoolean has this prototype object.nasgen tool
generates SPrototype for those native functionalities.so we can add properties to the prototype object in the fly.if some one need to add a property to prototype of the function i exposed to them then ,
thanksbest regardsBuddhi Nipun
More information about the nashorn-dev
mailing list