jQuery.Class.static.extend  function     

Extends a class with new static and prototype functions. There are a variety of ways to use extend:

//with className, static and prototype functions
$.Class.extend('Task',{ STATIC },{ PROTOTYPE })
//with just classname and prototype functions
$.Class.extend('Task',{ PROTOTYPE })
//With just a className
$.Class.extend('Task')
$.Class.extend(fullName, klass, proto) -> jQuery.Class
{optional:String}

the classes name (used for classes w/ introspection)

{optional:Object}

the new classes static/class functions

{optional:Object}

the new classes prototype functions

{jQuery.Class}

returns the new class

© Jupiter IT - JavaScriptMVC Training and Support