From 87a51d88a97d2721343519868d161377684fe2e9 Mon Sep 17 00:00:00 2001 From: Jeffrey Wescott Date: Sun, 13 Sep 2015 19:42:17 -0700 Subject: [PATCH 1/4] don't strip the hash off of the window path --- modules/DOMUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/DOMUtils.js b/modules/DOMUtils.js index 0bff39098..b6bfc7826 100644 --- a/modules/DOMUtils.js +++ b/modules/DOMUtils.js @@ -27,7 +27,7 @@ export function replaceHashPath(path) { } export function getWindowPath() { - return window.location.pathname + window.location.search + return window.location.pathname + window.location.search + window.location.hash } export function go(n) { From 2f300462bded4ebfa661119dc1aab186c45222b5 Mon Sep 17 00:00:00 2001 From: Jeffrey Wescott Date: Tue, 22 Sep 2015 09:30:45 -0700 Subject: [PATCH 2/4] ensure that we use the right babel configuration when doing postinstall --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 35a35272f..979f5f542 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ }, "bugs": "https://github.com/rackt/history/issues", "scripts": { - "build": "babel ./modules -d lib --ignore '__tests__'", + "build": "babel ./modules --babelrc ./.babelrc -d lib --ignore '__tests__'", "build-umd": "NODE_ENV=production webpack modules/index.js umd/History.js", "build-min": "NODE_ENV=production webpack -p modules/index.js umd/History.min.js", "start": "webpack-dev-server -d --content-base ./ --history-api-fallback --inline modules/index.js", From 112b9f6c57afb61c3bd1cb99febdb3fde22e1b4c Mon Sep 17 00:00:00 2001 From: Jeffrey Wescott Date: Tue, 22 Sep 2015 09:37:11 -0700 Subject: [PATCH 3/4] ensure that we use the right babel configuration when doing postinstall --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 979f5f542..b20a88a68 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ }, "bugs": "https://github.com/rackt/history/issues", "scripts": { - "build": "babel ./modules --babelrc ./.babelrc -d lib --ignore '__tests__'", + "build": "babel ./modules --babelrc .babelrc -d lib --ignore '__tests__'", "build-umd": "NODE_ENV=production webpack modules/index.js umd/History.js", "build-min": "NODE_ENV=production webpack -p modules/index.js umd/History.min.js", "start": "webpack-dev-server -d --content-base ./ --history-api-fallback --inline modules/index.js", From f55e9e6c1352183576fdb974d1810556a7473897 Mon Sep 17 00:00:00 2001 From: Jeffrey Wescott Date: Tue, 22 Sep 2015 09:43:08 -0700 Subject: [PATCH 4/4] ensure that we use the right babel configuration when doing postinstall --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b20a88a68..4614a937c 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ }, "bugs": "https://github.com/rackt/history/issues", "scripts": { - "build": "babel ./modules --babelrc .babelrc -d lib --ignore '__tests__'", + "build": "babel ./modules --stage 0 --loose -d lib --ignore '__tests__'", "build-umd": "NODE_ENV=production webpack modules/index.js umd/History.js", "build-min": "NODE_ENV=production webpack -p modules/index.js umd/History.min.js", "start": "webpack-dev-server -d --content-base ./ --history-api-fallback --inline modules/index.js",