BUGFIX Extending $ for namespaced closures in jquery.concrete to allow for native jQuery calling through $ placeholder

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92522 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-11-21 02:30:56 +00:00
parent 9889ba5c4b
commit 0808b164b5

View File

@ -106,11 +106,13 @@ var console;
namespaces[name] = this; namespaces[name] = this;
var self = this; var self = this;
this.$ = function() { this.$ = function() {
var jq = $.apply(window, arguments); var jq = $.apply(window, arguments);
jq.namespace = self; jq.namespace = self;
return jq; return jq;
} }
$.extend(this.$, $);
}, },
/** /**