Skip to content

Commit

Permalink
Merge pull request #61 from abulrim/fix-global-r
Browse files Browse the repository at this point in the history
Fix variable 'r' global leak
  • Loading branch information
nqbao committed Nov 7, 2013
2 parents eb9cebc + 47ce37f commit 795e017
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions detector.js
Expand Up @@ -12,6 +12,7 @@
var _apps = {};
var doc = document.documentElement;
var name;
var r;

// 1: detect by meta tags, the first matching group will be version
var metas = doc.getElementsByTagName("meta");
Expand Down

0 comments on commit 795e017

Please sign in to comment.