jQuery.Class.static.newInstance  function     

Creates a new instance of the class. This method is useful for creating new instances with arbitrary parameters.

Example

$.Class.extend("MyClass",{},{})
var mc = MyClass.newInstance.apply(null, new Array(parseInt(Math.random()*10,10))
$.Class.newInstance() -> class
{class}

instance of the class

© Jupiter IT - JavaScriptMVC Training and Support