Added license, fixed routing

This commit is contained in:
Henry 2016-04-26 08:40:42 -07:00
parent 78c474483e
commit 77c4dc17f2
2 changed files with 15 additions and 1 deletions

View File

@ -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",

View File

@ -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() {