Skip to content

Commit 5e5c3a0

Browse files
committed
1 parent bc11451 commit 5e5c3a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

useable.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ module.exports.pitch = function(remainingRequest) {
2424
" }",
2525
"};",
2626
"if(module.hot) {",
27-
" refs = module.hot.data && module.hot.data.refs || 0;",
28-
" if(refs) {",
29-
" refs--;",
27+
" var lastRefs = module.hot.data && module.hot.data.refs || 0;",
28+
" if(lastRefs) {",
3029
" exports.ref();",
30+
" refs = lastRefs;",
3131
" }",
3232
" module.hot.accept();",
3333
" module.hot.dispose(function(data) {",

0 commit comments

Comments
 (0)