using library
Hi Support team,
I want to create some custom functions and global constant variables that can be used by all server code script. So I build a library with the following:
-----------------------------var glob=(function(){
return{ "variable1":"value1",
"variable2":"value2",
"function1":function(p1,p2){//do something}}
})();
---------------------but when i try to use 'glob' in my script, it always says that 'glob' is not defined.
Could you let me know what went wrong?
Thanks
Dongzhi