This website works better with JavaScript.
Home
Explore
Help
Sign In
brettlangdon
/
node-dogapi
mirror of
https://github.com/brettlangdon/node-dogapi.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
40
Wiki
Activity
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
95075656a0
commit
b221673bd1
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
lib/api/index.js
+ 1
- 1
lib/api/index.js
View File
@ -15,7 +15,7 @@ var api = {
}
;
}
;
module
.
exports
=
function
(
obj
)
{
module
.
exports
=
function
(
obj
)
{
for
(
key
in
api
)
{
for
(
var
key
in
api
)
{
obj
[
key
]
=
api
[
key
]
;
obj
[
key
]
=
api
[
key
]
;
}
}
}
;
}
;
Write
Preview
Loading…
Cancel
Save