Added license, fixed routing
This commit is contained in:
		@@ -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",
 | 
			
		||||
 
 | 
			
		||||
@@ -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() {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user