diff --git a/demo/bundle.js b/demo/bundle.js index af91003bd1..a77a60b7b8 100644 --- a/demo/bundle.js +++ b/demo/bundle.js @@ -126,6 +126,17 @@ define([ } } ], + "licenses": [ + { + "name": "Hopscotch", + "version": "0.2.5", + "description": "Hopscotch is a framework to make it easy" + + " for developers to add product tours to their pages.", + "license": "license-apache", + "website": "http://linkedin.github.io/hopscotch/", + "link": "https://raw.githubusercontent.com/linkedin/hopscotch/master/LICENSE" + } + ], "stylesheets": [ { "stylesheetUrl": "css/hopscotch.css", diff --git a/demo/src/DemoInitializer.js b/demo/src/DemoInitializer.js index 6e946f2bf2..994086efae 100644 --- a/demo/src/DemoInitializer.js +++ b/demo/src/DemoInitializer.js @@ -64,7 +64,10 @@ define( ]; }) }).then(function() { - $location.url("/browse/mct:demo/88a26104-8bd5-445d-8b57-10b567d2823d"); + //For default route, redirect user to layout + if ($location.path().length == 0 || $location.path() === "/") { + $location.url("/browse/mct:demo/88a26104-8bd5-445d-8b57-10b567d2823d"); + } }); $timeout(function() {