Skip to content

Commit aee257c

Browse files
author
Sandro Santilli
committed
Do not leak "tmp" variable to globals
1 parent ce4f99f commit aee257c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/acceptance/app.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var real_oauth_header = 'OAuth realm="http://vizzuality.testhost.lan/",oauth_con
2828

2929
// use dec_sep for internationalization
3030
var checkDecimals = function(x, dec_sep){
31-
tmp='' + x;
31+
var tmp='' + x;
3232
if (tmp.indexOf(dec_sep)>-1)
3333
return tmp.length-tmp.indexOf(dec_sep)-1;
3434
else

0 commit comments

Comments
 (0)