r2941 - spinner: renamed _curDelay to currentDelay
Author: pazu2k@gmail.com
Date: Sun Jul 19 05:43:10 2009
New Revision: 2941
Modified:
branches/dev/spinner/ui/ui.spinner.js
Log:
spinner: renamed _curDelay to currentDelay
Modified: branches/dev/spinner/ui/ui.spinner.js
==============================================================================
--- branches/dev/spinner/ui/ui.spinner.js (original)
+++ branches/dev/spinner/ui/ui.spinner.js Sun Jul 19 05:43:10 2009
@@ -25,7 +25,7 @@
// initialize variables
// _curDelay can't be initialized as part of the prototype because all
widgets would share the same object
- self._curDelay = {};
+ self.currentDelay = {};
self.focused = false;
self.hovered = false;
@@ -372,11 +372,11 @@
type = type || 'a';
var self = this,
- curDelay = self._curDelay[type] || {},
+ curDelay = self.currentDelay[type] || {},
args = Array.prototype.slice.call(arguments, 3);
// reassign in case it's a new delay
- self._curDelay[type] = curDelay;
+ self.currentDelay[type] = curDelay;
if (curDelay.i) {
// don't do anything if resetting the same delay