mirror of
https://github.com/wassname/side-by-side.git
synced 2026-09-09 11:34:24 +08:00
Move html5 mode selection to index.html
This commit is contained in:
@@ -5,6 +5,8 @@ html(ng-app="sideBySide" ng-controller="AppController")
|
||||
title(ng-bind="title()") Side By Side viewer
|
||||
meta(charset="utf-8")
|
||||
link(rel="stylesheet", type="text/css", href="//fonts.googleapis.com/css?family=Noticia+Text:400,700,400italic,700italic")
|
||||
script.
|
||||
html5Mode = false;
|
||||
|
||||
if min == true
|
||||
link(rel="stylesheet", type="text/css", href="styles/all_min.css")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
angular.module('sideBySide', ['ngAnimate', 'ngDialog', 'ngSanitize', 'duScroll'])
|
||||
.config [ '$locationProvider', ($locationProvider) ->
|
||||
$locationProvider.html5Mode true
|
||||
$locationProvider.html5Mode html5Mode
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user