[Pkg-javascript-commits] [node-umd] 04/07: Declares the 'ref$' variable to avoid leaking.
Bastien Roucariès
rouca at moszumanska.debian.org
Mon Apr 17 07:38:09 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to annotated tag 2.0.0
in repository node-umd.
commit 47f71d9f2114e074fdf56385940906741bb057b1
Author: Quildreen "Sorella" Motta <quildreen at gmail.com>
Date: Thu Nov 28 22:40:42 2013 -0200
Declares the 'ref$' variable to avoid leaking.
---
index.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.js b/index.js
index eb582e3..e58d230 100644
--- a/index.js
+++ b/index.js
@@ -70,7 +70,7 @@ function compileNamespace(name) {
// Worst case, too many namespaces to care about
} else {
- return names.reduce(compileNamespaceStep, ['ref$ = g'])
+ return names.reduce(compileNamespaceStep, ['var ref$ = g'])
.join(';\n ');
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-umd.git
More information about the Pkg-javascript-commits
mailing list