Skip to content

Commit 09dc54c

Browse files
author
hongarc
committed
fix: keep localStorage
1 parent 9f2c599 commit 09dc54c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ var gitDeployPushOrigin = function(done) {
173173
'git checkout master'
174174
);
175175
done();
176-
}
176+
};
177177

178178
var fastBuild = series(clean, ifyBuild, style, buildIndexDev, jshint);
179179

@@ -191,7 +191,7 @@ var deploy = series(
191191
gitDeployMergeMaster,
192192
build,
193193
gitDeployPushOrigin,
194-
compliment,
194+
compliment
195195
);
196196

197197
var lint = series(jshint, compliment);

src/js/stores/LevelStore.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ if (!util.isBrowser()) {
3535
return keys[i] || null;
3636
}
3737
};
38+
} else {
39+
var localStorage = window.localStorage;
3840
}
3941

4042
try {

0 commit comments

Comments
 (0)