Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Fixed relative paths for html5mode
Browse files Browse the repository at this point in the history
  • Loading branch information
amoshaviv committed Sep 29, 2013
1 parent a23f46f commit 2cab7b7
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
34 changes: 17 additions & 17 deletions app/views/includes/foot.jade
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
script(type='text/javascript', src='lib/jquery/jquery.js')
script(type='text/javascript', src='/lib/jquery/jquery.js')

//Bootstrap
script(type='text/javascript', src='lib/bootstrap/js/bootstrap.js')
script(type='text/javascript', src='/lib/bootstrap/js/bootstrap.js')

//AngularJS
script(type='text/javascript', src='lib/angular/angular.js')
script(type='text/javascript', src='lib/angular-cookies/angular-cookies.js')
script(type='text/javascript', src='lib/angular-resource/angular-resource.js')
script(type='text/javascript', src='/lib/angular/angular.js')
script(type='text/javascript', src='/lib/angular-cookies/angular-cookies.js')
script(type='text/javascript', src='/lib/angular-resource/angular-resource.js')

//Angular UI
script(type='text/javascript', src='lib/angular-bootstrap/ui-bootstrap-tpls.js')
script(type='text/javascript', src='lib/angular-ui-utils/modules/route.js')
script(type='text/javascript', src='/lib/angular-bootstrap/ui-bootstrap-tpls.js')
script(type='text/javascript', src='/lib/angular-ui-utils/modules/route.js')

//Application Init
script(type='text/javascript', src='js/app.js')
script(type='text/javascript', src='js/config.js')
script(type='text/javascript', src='js/directives.js')
script(type='text/javascript', src='js/filters.js')
script(type='text/javascript', src='/js/app.js')
script(type='text/javascript', src='/js/config.js')
script(type='text/javascript', src='/js/directives.js')
script(type='text/javascript', src='/js/filters.js')

//Application Services
script(type='text/javascript', src='js/services/global.js')
script(type='text/javascript', src='js/services/articles.js')
script(type='text/javascript', src='/js/services/global.js')
script(type='text/javascript', src='/js/services/articles.js')

//Application Controllers
script(type='text/javascript', src='js/controllers/articles.js')
script(type='text/javascript', src='js/controllers/index.js')
script(type='text/javascript', src='js/controllers/header.js')
script(type='text/javascript', src='js/init.js')
script(type='text/javascript', src='/js/controllers/articles.js')
script(type='text/javascript', src='/js/controllers/index.js')
script(type='text/javascript', src='/js/controllers/header.js')
script(type='text/javascript', src='/js/init.js')

//Livereload script rendered
script(type='text/javascript', src='http://localhost:35729/livereload.js')
8 changes: 4 additions & 4 deletions app/views/includes/head.jade
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ head
meta(property='og:site_name', content='MEAN - A Modern Stack')
meta(property='fb:admins', content='APP_ADMIN')

link(rel='stylesheet', href='lib/bootstrap/css/bootstrap.css')
link(rel='stylesheet', href='lib/bootstrap/css/bootstrap-responsive.css')
link(rel='stylesheet', href='css/common.css')
link(rel='stylesheet', href='/lib/bootstrap/css/bootstrap.css')
link(rel='stylesheet', href='/lib/bootstrap/css/bootstrap-responsive.css')
link(rel='stylesheet', href='/css/common.css')

link(rel='stylesheet', href='css/views/articles.css')
link(rel='stylesheet', href='/css/views/articles.css')

//if lt IE 9
script(src='http://html5shim.googlecode.com/svn/trunk/html5.js')

0 comments on commit 2cab7b7

Please sign in to comment.