Browse Source

Eliminate global var leak.

Mocha is picking this up in our test suite as a leaked global var.
pull/19/head
Chad Robinson 11 years ago
parent
commit
b221673bd1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/api/index.js

+ 1
- 1
lib/api/index.js View File

@ -15,7 +15,7 @@ var api = {
};
module.exports = function(obj){
for(key in api){
for(var key in api){
obj[key] = api[key];
}
};

Loading…
Cancel
Save