borncorp

Clientscript JQuery

May 19th, 2017
107
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2.  *@NApiVersion 2.x
  3.  *@NModuleScope Public
  4.  *@NScriptType ClientScript
  5.  */
  6. define([], runClientscript);
  7.        
  8. function runClientscript(){  
  9.     function pageInit(context) {
  10.         $('body').innerHTML = 'JQUERY FUNCTION WORKED';
  11.         return;
  12.     }
  13.    
  14.     var returnObj = {};
  15.     returnObj.pageInit = pageInit;
  16.     return returnObj;
  17. }
RAW Paste Data