[Pkg-javascript-commits] [dojo] 01/21: workaround a BB10 JavaScript VM bug by doing forEach differently refs #17204
David Prévot
taffit at moszumanska.debian.org
Thu Aug 21 17:39:51 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag 1.9.2
in repository dojo.
commit 267bb77eaee81f29f4f18dc014d766a862e87707
Author: Christophe Jolif <cjolif at gmail.com>
Date: Tue Jul 16 08:36:10 2013 +0200
workaround a BB10 JavaScript VM bug by doing forEach differently refs #17204
(cherry picked from commit ded3e6d2fcc6abf35eaa9a23eea96e30b34d372e)
---
dojo.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dojo.js b/dojo.js
index 54d4b8e..da190c8 100644
--- a/dojo.js
+++ b/dojo.js
@@ -89,7 +89,7 @@
forEach = function(vector, callback){
if(vector){
- for(var i = 0; vector[i];){
+ for(var i = 0; i < vector.length;){
callback(vector[i++]);
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/dojo.git
More information about the Pkg-javascript-commits
mailing list