projects
/
mkdru-moved-to-drupal.org.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b811115
)
Don't hog global $ in case module is to be used with other JS lib.
author
Jason Skomorowski
<jason@indexdata.com>
Fri, 11 Feb 2011 21:30:03 +0000
(22:30 +0100)
committer
Jason Skomorowski
<jason@indexdata.com>
Fri, 11 Feb 2011 21:30:03 +0000
(22:30 +0100)
mkdru.client.js
patch
|
blob
|
history
diff --git
a/mkdru.client.js
b/mkdru.client.js
index
216ad20
..
7f83e3c
100644
(file)
--- a/
mkdru.client.js
+++ b/
mkdru.client.js
@@
-39,6
+39,9
@@
var mkdru = {
+// Wrapper for jQuery
+(function ($) {
+
// So we can use jQuery BBQ with Drupal 6 and its 1.2.6 jQuery
if (!$.isArray) $.isArray = function(obj) {
return Object.prototype.toString.call(obj) === "[object Array]";
@@
-362,3
+365,4
@@
$(document).ready(function () {
);
}
});
+})(jQuery);
\ No newline at end of file