Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Utils: Fixed "SyntaxError: enum is a reserved identifier".

  • Loading branch information...
commit 11dc94e43cac0bed41ddca822a61782195c13db3 1 parent 70201e0
@satyr satyr authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 ubiquity/modules/utils.js
View
4 ubiquity/modules/utils.js
@@ -69,8 +69,8 @@ var Utils = {
// An array of application chrome windows currently opened.
get chromeWindows() {
var wins = [];
- var enum = Utils.WindowMediator.getEnumerator(Utils.appWindowType);
- while (enum.hasMoreElements()) wins.push(enum.getNext());
+ var nmrt = Utils.WindowMediator.getEnumerator(Utils.appWindowType);
+ while (nmrt.hasMoreElements()) wins.push(nmrt.getNext());
return wins;
},
Please sign in to comment.
Something went wrong with that request. Please try again.