Skip to content

Commit

Permalink
重新构建
Browse files Browse the repository at this point in the history
  • Loading branch information
heeroluo committed Jun 14, 2019
1 parent a8f183a commit bfc61f9
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
3 changes: 3 additions & 0 deletions dist-cmd/cookie/1.1/cookie-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ var get = exports.get = function(key, options) {

// iOS9下设置过期不会马上生效,先设为空
var shouldSetEmptyBeforeRemove = (function() {
// 兼容 Node 端(主要针对同构应用)引入
if (typeof document === 'undefined') { return false; }

var TEST_KEY = '__jraiser__test__cookie__';
document.cookie = TEST_KEY + '=1';
document.cookie = TEST_KEY + '=;expires=Thu, 01 Jan 1970 00:00:00 GMT';
Expand Down
2 changes: 1 addition & 1 deletion dist-cmd/cookie/1.1/cookie.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions dist-npm/cookie/1.1/cookie.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ var get = exports.get = function(key, options) {

// iOS9下设置过期不会马上生效,先设为空
var shouldSetEmptyBeforeRemove = (function() {
// 兼容 Node 端(主要针对同构应用)引入
if (typeof document === 'undefined') { return false; }

var TEST_KEY = '__jraiser__test__cookie__';
document.cookie = TEST_KEY + '=1';
document.cookie = TEST_KEY + '=;expires=Thu, 01 Jan 1970 00:00:00 GMT';
Expand Down
2 changes: 1 addition & 1 deletion dist-npm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jraiser",
"version": "3.1.3",
"version": "3.1.4",
"description": "Modular JavaScript Foundation Library",
"repository": {
"type": "git",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"description": "Modular JavaScript Foundation Library",
"scripts": {
"start": "node dev-server/start",
"build-cmd": "npx gulp buildCMD",
"build-npm": "npx gulp buildNPM",
"doc": "npx gulp genDoc"
"build-cmd": "gulp buildCMD",
"build-npm": "gulp buildNPM",
"doc": "gulp genDoc"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit bfc61f9

Please sign in to comment.