Changeset 28780 for trunk/themes/default/js/ui/jquery.ui.widget.js
- Timestamp:
- Jun 24, 2014, 10:16:59 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/themes/default/js/ui/jquery.ui.widget.js
r20824 r28780 1 1 /*! 2 * jQuery UI Widget 1.10. 12 * jQuery UI Widget 1.10.4 3 3 * http://jqueryui.com 4 4 * 5 * Copyright 201 3jQuery Foundation and other contributors5 * Copyright 2014 jQuery Foundation and other contributors 6 6 * Released under the MIT license. 7 7 * http://jquery.org/license … … 107 107 // always use the name + a colon as the prefix, e.g., draggable:start 108 108 // don't prefix for widgets that aren't DOM-based 109 widgetEventPrefix: existingConstructor ? basePrototype.widgetEventPrefix: name109 widgetEventPrefix: existingConstructor ? (basePrototype.widgetEventPrefix || name) : name 110 110 }, proxiedPrototype, { 111 111 constructor: constructor, … … 316 316 } 317 317 key = parts.pop(); 318 if ( value === undefined) {318 if ( arguments.length === 1 ) { 319 319 return curOption[ key ] === undefined ? null : curOption[ key ]; 320 320 } 321 321 curOption[ key ] = value; 322 322 } else { 323 if ( value === undefined) {323 if ( arguments.length === 1 ) { 324 324 return this.options[ key ] === undefined ? null : this.options[ key ]; 325 325 }
Note: See TracChangeset
for help on using the changeset viewer.