mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 16:38:50 +02:00
Merge pull request #669 from Hongarc/fix/storage
fix: keep `localStorage`
This commit is contained in:
commit
21a479578e
2 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -35,6 +35,8 @@ if (!util.isBrowser()) {
|
|||
return keys[i] || null;
|
||||
}
|
||||
};
|
||||
} else {
|
||||
var localStorage = window.localStorage;
|
||||
}
|
||||
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue