Skip to content
This repository was archived by the owner on Jan 16, 2020. It is now read-only.

Commit eb01fd8

Browse files
committed
Use local $ instead of global jQuery for maximum compatibility with noConflict. Closes issue BorisMoore#22
1 parent c28a635 commit eb01fd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jquery.datalink.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ $.extend({
7474
var parts = field.split(".");
7575
parts[1] = parts[1] ? "." + parts[1] : "";
7676

77-
var $this = jQuery( target ),
77+
var $this = $( target ),
7878
args = [ parts[0], value ];
7979

8080
$this.triggerHandler( eventNameSetField + parts[1] + "!", args );
@@ -249,7 +249,7 @@ $.extend($.fn, {
249249
},
250250
setField: function(field, value) {
251251
return this.each(function() {
252-
jQuery.setField( this, field, value );
252+
$.setField( this, field, value );
253253
});
254254
}
255255
});

0 commit comments

Comments
 (0)