Use '$' rather than 'jQuery'

The (function($) {...})(jQuery) wrapper ensures that $ is always available.
pull/1752/head
Matt Westcott 2015-09-18 16:22:20 +01:00
rodzic caf0bb4366
commit d18eccc5e8
4 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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