Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use local $ instead of global jQuery for maximum compatibility with n…

…oConflict. Closes issue #22
  • Loading branch information...
commit eb01fd8b67a278cf91e45f86d8741477c1dff6c4 1 parent c28a635
@rdworth rdworth authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 jquery.datalink.js
View
4 jquery.datalink.js
@@ -74,7 +74,7 @@ $.extend({
var parts = field.split(".");
parts[1] = parts[1] ? "." + parts[1] : "";
- var $this = jQuery( target ),
+ var $this = $( target ),
args = [ parts[0], value ];
$this.triggerHandler( eventNameSetField + parts[1] + "!", args );
@@ -249,7 +249,7 @@ $.extend($.fn, {
},
setField: function(field, value) {
return this.each(function() {
- jQuery.setField( this, field, value );
+ $.setField( this, field, value );
});
}
});
Please sign in to comment.
Something went wrong with that request. Please try again.