mirror of
https://github.com/wassname/side-by-side.git
synced 2026-09-11 12:44:22 +08:00
Move script/style paths to Gruntfile
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
// application scripts
|
||||
script(src="bower_components/lodash/dist/lodash.js")
|
||||
script(src="bower_components/angular/angular.js")
|
||||
script(src="bower_components/angular-route/angular-route.js")
|
||||
script(src="bower_components/angular-sanitize/angular-sanitize.js")
|
||||
script(src="bower_components/marked/lib/marked.js")
|
||||
script(src="scripts/app.js")
|
||||
script(src="scripts/services/fetch.js")
|
||||
script(src="scripts/services/poems.js")
|
||||
script(src="scripts/services/reader/_factory.js")
|
||||
script(src="scripts/services/reader/markdown.js")
|
||||
script(src="scripts/services/reader/json.js")
|
||||
script(src="scripts/services/transformer.js")
|
||||
script(src="scripts/controllers.js")
|
||||
@@ -4,9 +4,9 @@ html(ng-app="sideBySide")
|
||||
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")
|
||||
link(rel="stylesheet", type="text/css", href="bower_components/fontawesome/css/font-awesome.min.css")
|
||||
link(rel="stylesheet", type="text/css", href="bower_components/pure/pure-min.css")
|
||||
link(rel="stylesheet", type="text/css", href="styles/style.css")
|
||||
include includes/scripts.html.jade
|
||||
for style in styles
|
||||
link(rel="stylesheet", type="text/css", href="#{style}")
|
||||
for script in scripts
|
||||
script(src="#{script}")
|
||||
|
||||
include includes/body.html.jade
|
||||
|
||||
@@ -4,7 +4,8 @@ html
|
||||
title Side By Side test suite
|
||||
meta(charset="utf-8")
|
||||
|
||||
include includes/scripts.html.jade
|
||||
for script in scripts
|
||||
script(src="#{script}")
|
||||
|
||||
// test scripts
|
||||
link(rel="stylesheet", type="text/css", href="bower_components/qunit/qunit/qunit.css")
|
||||
|
||||
Reference in New Issue
Block a user