fix: keep localStorage

This commit is contained in:
hongarc 2020-03-30 07:35:59 +07:00
parent 9f2c599d82
commit 09dc54c76a
2 changed files with 4 additions and 2 deletions

View file

@ -173,7 +173,7 @@ var gitDeployPushOrigin = function(done) {
'git checkout master'
);
done();
}
};
var fastBuild = series(clean, ifyBuild, style, buildIndexDev, jshint);
@ -191,7 +191,7 @@ var deploy = series(
gitDeployMergeMaster,
build,
gitDeployPushOrigin,
compliment,
compliment
);
var lint = series(jshint, compliment);

View file

@ -35,6 +35,8 @@ if (!util.isBrowser()) {
return keys[i] || null;
}
};
} else {
var localStorage = window.localStorage;
}
try {