0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00

Use '$' rather than 'jQuery'

The (function($) {...})(jQuery) wrapper ensures that $ is always available.
This commit is contained in:
Matt Westcott 2015-09-18 16:22:20 +01:00
parent caf0bb4366
commit d18eccc5e8
4 changed files with 4 additions and 4 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,