I have written a javascript client-object model code and I am calling it through the below line code from content editor webpart:
ExecuteOrDelayUntilScriptLoaded(getWebSiteData(sys), "sp.js");// throwing error
But it is throwing javascript error in init.js and other javascript functions are not working. Can someone tell me how to pass parameters to javascript client-model function?