|
25 | 25 | }
|
26 | 26 | }( function( $ ) {
|
27 | 27 |
|
28 |
| -var widget_uuid = 0, |
29 |
| - widget_slice = Array.prototype.slice; |
| 28 | +var widgetUuid = 0, |
| 29 | + widgetSlice = Array.prototype.slice; |
30 | 30 |
|
31 | 31 | $.cleanData = ( function( orig ) {
|
32 | 32 | return function( elems ) {
|
@@ -175,7 +175,7 @@ $.widget = function( name, base, prototype ) {
|
175 | 175 | };
|
176 | 176 |
|
177 | 177 | $.widget.extend = function( target ) {
|
178 |
| - var input = widget_slice.call( arguments, 1 ), |
| 178 | + var input = widgetSlice.call( arguments, 1 ), |
179 | 179 | inputIndex = 0,
|
180 | 180 | inputLength = input.length,
|
181 | 181 | key,
|
@@ -207,7 +207,7 @@ $.widget.bridge = function( name, object ) {
|
207 | 207 | var fullName = object.prototype.widgetFullName || name;
|
208 | 208 | $.fn[ name ] = function( options ) {
|
209 | 209 | var isMethodCall = typeof options === "string",
|
210 |
| - args = widget_slice.call( arguments, 1 ), |
| 210 | + args = widgetSlice.call( arguments, 1 ), |
211 | 211 | returnValue = this;
|
212 | 212 |
|
213 | 213 | if ( isMethodCall ) {
|
@@ -274,7 +274,7 @@ $.Widget.prototype = {
|
274 | 274 | _createWidget: function( options, element ) {
|
275 | 275 | element = $( element || this.defaultElement || this )[ 0 ];
|
276 | 276 | this.element = $( element );
|
277 |
| - this.uuid = widget_uuid++; |
| 277 | + this.uuid = widgetUuid++; |
278 | 278 | this.eventNamespace = "." + this.widgetName + this.uuid;
|
279 | 279 |
|
280 | 280 | this.bindings = $();
|
|
0 commit comments