diff options
Diffstat (limited to 'lib/bzpage.js')
-rw-r--r-- | lib/bzpage.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/bzpage.js b/lib/bzpage.js index bb9e58f..6d04f52 100644 --- a/lib/bzpage.js +++ b/lib/bzpage.js @@ -270,6 +270,14 @@ BZPage.prototype.centralCommandDispatch = function centralCommandDispatch (cmdLa * Fetches the command object from this.installedPackages and then * goes through all commands contained in it, and calls * this.centralCommandDispatch to execute them. + * + * PROBLEM: according to https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference\ + * /Statements/for...in there is no guaranteed order of execution of + * commands (i.e., key, commentObj[key] pairs) in for..in cycle. + * According to https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference\ + * /Operators/Special_Operators/delete_Operator#Cross-browser_issues it seems that + * everywhere except of Internet Explorer this should work well, but waiting + * impatiently when this bite us. */ BZPage.prototype.executeCommand = function executeCommand (cmd) { var cmdArr = cmd.split("//"); |