Skip to content

Commit

Permalink
Internet Explorer would iterate through array methods, too.
Browse files Browse the repository at this point in the history
  • Loading branch information
Szaby Grünwald committed Dec 7, 2011
1 parent cb4174a commit 50bcefc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Util.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ VIE.Util = {
rules.prefix(prefix, service.namespaces.get(prefix));
}
}
for (var i = 0; i < service.rules.length; i++) {
for (var i = 0; i < service.rules.length; i++)if(service.rules.hasOwnProperty(i)) {
rules.add(service.rules[i]['left'], service.rules[i]['right']);
}
rdf = rdf.reason(rules, 10); // execute the rules only 10 times to avoid looping
Expand Down

0 comments on commit 50bcefc

Please sign in to comment.