kopia lustrzana https://github.com/wagtail/wagtail
Use '$' rather than 'jQuery'
The (function($) {...})(jQuery) wrapper ensures that $ is always available.pull/1752/head
rodzic
caf0bb4366
commit
d18eccc5e8
|
@ -17,7 +17,7 @@
|
|||
return $(node).parents('a').get(0);
|
||||
};
|
||||
|
||||
button = jQuery('<span class="' + this.widgetName + '"></span>');
|
||||
button = $('<span class="' + this.widgetName + '"></span>');
|
||||
button.hallobutton({
|
||||
uuid: this.options.uuid,
|
||||
editable: this.options.editable,
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
var button, widget;
|
||||
|
||||
widget = this;
|
||||
button = jQuery('<span class="' + this.widgetName + '"></span>');
|
||||
button = $('<span class="' + this.widgetName + '"></span>');
|
||||
button.hallobutton({
|
||||
uuid: this.options.uuid,
|
||||
editable: this.options.editable,
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
var button, widget;
|
||||
|
||||
widget = this;
|
||||
button = jQuery('<span class="' + this.widgetName + '"></span>');
|
||||
button = $('<span class="' + this.widgetName + '"></span>');
|
||||
button.hallobutton({
|
||||
uuid: this.options.uuid,
|
||||
editable: this.options.editable,
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
var button, widget;
|
||||
|
||||
widget = this;
|
||||
button = jQuery('<span class="' + this.widgetName + '"></span>');
|
||||
button = $('<span class="' + this.widgetName + '"></span>');
|
||||
button.hallobutton({
|
||||
uuid: this.options.uuid,
|
||||
editable: this.options.editable,
|
||||
|
|
Ładowanie…
Reference in New Issue