Skip to content

Commit

Permalink
use for vice foreach to make jslint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
dound committed Dec 7, 2008
1 parent 8677b45 commit 710e527
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jtoolbar.js
Expand Up @@ -1653,7 +1653,7 @@ var JTB = function() {
/** Notify orientation listeners that an orientation change has occurred. */
JTB.Toolbar.prototype.fireOrientationListeners = function(oldOrientation) {
var i;
for(var i in this.orientation_listeners) {
for(i=0; i<this.orientation_listeners.length; i++) {
var f = this.orientation_listeners[i];
f(this, oldOrientation);
}
Expand All @@ -1679,7 +1679,7 @@ var JTB = function() {
/** Notify visibility listeners that a visibility change has occurred. */
JTB.Toolbar.prototype.fireVisibilityListeners = function() {
var i;
for(var i in this.visibility_listeners) {
for(i=0; i<this.visibility_listeners.length; i++) {
var f = this.visibility_listeners[i];
f(this);
}
Expand Down

0 comments on commit 710e527

Please sign in to comment.