Permalink
Browse files

BUGFIX Extending $ for namespaced closures in jquery.concrete to allo…

…w for native jQuery calling through $ placeholder

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92522 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent 9889ba5 commit 0808b164b56c27972c1a0a2109379bb18eb78b5d @chillu chillu committed Nov 21, 2009
Showing with 2 additions and 0 deletions.
  1. +2 −0 thirdparty/jquery-concrete/jquery.concrete.js
@@ -106,11 +106,13 @@ var console;
namespaces[name] = this;
var self = this;
+
this.$ = function() {
var jq = $.apply(window, arguments);
jq.namespace = self;
return jq;
}
+ $.extend(this.$, $);
},
/**

0 comments on commit 0808b16

Please sign in to comment.