We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25c6234 commit 80fd592Copy full SHA for 80fd592
jquery-class/jquery.class.js
@@ -21,7 +21,5 @@ $.Class = function(definition) {
21
}
22
23
var pointer = registerNameSpace(definition.namespace.split('.'), window);
24
- $.extend(pointer[definition.namespace.split('.').pop()], definition);
25
-
26
- return new Class();
+ return $.extend(pointer[definition.namespace.split('.').pop()], new Class());
27
};
0 commit comments