From 0808b164b56c27972c1a0a2109379bb18eb78b5d Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sat, 21 Nov 2009 02:30:56 +0000 Subject: [PATCH] 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 --- thirdparty/jquery-concrete/jquery.concrete.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/thirdparty/jquery-concrete/jquery.concrete.js b/thirdparty/jquery-concrete/jquery.concrete.js index 3ef17b830..50597e536 100644 --- a/thirdparty/jquery-concrete/jquery.concrete.js +++ b/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.$, $); }, /**