From e8a1ee9779da55917bc6077f05a6205569bd0865 Mon Sep 17 00:00:00 2001 From: Muhammed Thanish Date: Tue, 7 Jun 2016 14:52:33 +0530 Subject: [PATCH] Fix path on Windows --- dist/server/build.js | 0 dist/server/iframe.html.js | 6 +++--- dist/server/index.html.js | 6 +++--- src/server/iframe.html.js | 4 ++-- src/server/index.html.js | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) mode change 100755 => 100644 dist/server/build.js diff --git a/dist/server/build.js b/dist/server/build.js old mode 100755 new mode 100644 diff --git a/dist/server/iframe.html.js b/dist/server/iframe.html.js index f7b8aa0c56fe..6903ae509fa6 100644 --- a/dist/server/iframe.html.js +++ b/dist/server/iframe.html.js @@ -5,11 +5,11 @@ Object.defineProperty(exports, "__esModule", { }); exports.default = function (headHtml, publicPath) { - return '\n \n \n \n \n \n \n React Storybook\n ' + headHtml + '\n \n \n
\n \n \n \n '; + return '\n \n \n \n \n \n \n React Storybook\n ' + headHtml + '\n \n \n
\n \n \n \n '; }; -var _path = require('path'); +var _url = require('url'); -var _path2 = _interopRequireDefault(_path); +var _url2 = _interopRequireDefault(_url); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } \ No newline at end of file diff --git a/dist/server/index.html.js b/dist/server/index.html.js index f8b5aa79d083..7c9824caf64b 100644 --- a/dist/server/index.html.js +++ b/dist/server/index.html.js @@ -5,11 +5,11 @@ Object.defineProperty(exports, "__esModule", { }); exports.default = function (publicPath) { - return '\n \n \n \n \n \n React Storybook\n \n \n \n
\n \n \n \n '; + return '\n \n \n \n \n \n React Storybook\n \n \n \n
\n \n \n \n '; }; -var _path = require('path'); +var _url = require('url'); -var _path2 = _interopRequireDefault(_path); +var _url2 = _interopRequireDefault(_url); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } \ No newline at end of file diff --git a/src/server/iframe.html.js b/src/server/iframe.html.js index d7ec704c06da..396f7087179c 100644 --- a/src/server/iframe.html.js +++ b/src/server/iframe.html.js @@ -1,4 +1,4 @@ -import path from 'path'; +import url from 'url'; export default function (headHtml, publicPath) { return ` @@ -17,7 +17,7 @@ export default function (headHtml, publicPath) {
- + `; diff --git a/src/server/index.html.js b/src/server/index.html.js index f2dc8b2aa371..221c6cfb05fb 100644 --- a/src/server/index.html.js +++ b/src/server/index.html.js @@ -1,4 +1,4 @@ -import path from 'path'; +import url from 'url'; export default function (publicPath) { return ` @@ -40,7 +40,7 @@ export default function (publicPath) {
- + `;