From f2006ed1ccaaac58b8d07edfb1474b6d9bae1c4f Mon Sep 17 00:00:00 2001 From: Jibidus Date: Tue, 29 Jul 2014 19:32:45 +0200 Subject: [PATCH] fix(demos): ionRadio/chooseOne and ionTabs/tabsAndNav are now fully operational --- README.md | 4 ++-- config/demos/processors/demos.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e094314defe..d5db6c78637 100644 --- a/README.md +++ b/README.md @@ -113,8 +113,8 @@ For most cases, you'll need AngularJS as well. This is bundled in `js/angular/` * The demo site is generated into `dist/ionic-demo`. To test the demos, follow these steps: 1. Run `gulp demos [--demo-version=(versionName|nightly)]` - 2. Start an http server from `dist/ionic-demo`: - - `cd dist/ionic-demo && python -m SimpleHTTPServer` + 2. Start an http server: + - `python -m SimpleHTTPServer` 3. Navigate to `http://localhost:8000/{versionName|nightly}` and use the demos 4. Run `gulp demos` again whenever you change the demos diff --git a/config/demos/processors/demos.js b/config/demos/processors/demos.js index 751e50f0fca..68c7bbbfce9 100644 --- a/config/demos/processors/demos.js +++ b/config/demos/processors/demos.js @@ -86,7 +86,7 @@ module.exports = { demoData.name = firstDoc.name; demoData.component = firstDoc.component; demoData.href = path.join( - '/', + '/dist/ionic-demo/', contentsFolder, _.template(assetOutputPath, _.assign({}, firstDoc, { fileName: '' })) );