Changeset 547
- Timestamp:
- 08/15/08 17:25:09 (19 months ago)
- Files:
-
- 1 modified
-
trunk/ui/ui.core.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ui/ui.core.js
r542 r547 39 39 args = Array.prototype.slice.call(arguments, 1); 40 40 41 // prevent calls to internal methods 42 if (isMethodCall && options.substring(0, 1) == '_') { 43 return this; 44 } 45 46 // handle getter methods 41 47 if (isMethodCall && getter(namespace, name, options)) { 42 48 var instance = $.data(this[0], name); … … 45 51 } 46 52 53 // handle initialization and non-getter methods 47 54 return this.each(function() { 48 55 var instance = $.data(this, name);