You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use "new" constructor on Modules that return a function.
When an object is returned this object should have a "load" method which returns another object, this object should have an unload method and can be the same object as the object having the load method.
varexports={load:function(element,options){// do stuffreturnexports;},unload:function(){// clean up}};returnexports;
The text was updated successfully, but these errors were encountered:
Use "new" constructor on Modules that return a function.
When an object is returned this object should have a "load" method which returns another object, this object should have an unload method and can be the same object as the object having the load method.
The text was updated successfully, but these errors were encountered: