Skip to content
This repository has been archived by the owner on Jun 14, 2019. It is now read-only.

Commit

Permalink
Move vendor deps to public/vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
eljenso committed Dec 3, 2015
1 parent 100eee8 commit 6f79b4f
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
6 changes: 4 additions & 2 deletions .bowerrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{
"directory": "public/js/vendor"
}
"directory": "public/vendor",
"analytics": false,
"interactive": false
}
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ build/Release
# Dependency directory
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
node_modules
public/js/vendor

public/vendor


*.sublime-workspace
/output.txt
/err.txt
4 changes: 3 additions & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
"jquery": "~2.1.4",
"bootstrap": "~3.3.4",
"socket.io-client": "https://github.com/Automattic/socket.io-client.git#~1.3.5",
"js-cookie": "~2.0.2"
"js-cookie": "~2.0.2",
"angular": "~1.4.8",
"angular-ui-router": "~0.2.15"
}
}
2 changes: 1 addition & 1 deletion views/index.jade
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
extend layouts/main

block dependencies
script(src='/public/js/vendor/socket.io-client/socket.io.js')
script(src='/public/vendor/socket.io-client/socket.io.js')
script(src='/public/js/index.js')

block leftbar
Expand Down
8 changes: 4 additions & 4 deletions views/layouts/main.jade
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ html
link(rel='shortcut icon', type='image/png', href='/public/img/icon.png')

//- jQuery
script(src='/public/js/vendor/jquery/dist/jquery.min.js')
script(src='/public/vendor/jquery/dist/jquery.min.js')

//- bootstrap
script(src='/public/js/vendor/bootstrap/dist/js/bootstrap.min.js')
link(rel='stylesheet', href='/public/js/vendor/bootstrap/dist/css/bootstrap.min.css')
script(src='/public/vendor/bootstrap/dist/js/bootstrap.min.js')
link(rel='stylesheet', href='/public/vendor/bootstrap/dist/css/bootstrap.min.css')

//- js-cookie
script(src='/public/js/vendor/js-cookie/src/js.cookie.js')
script(src='/public/vendor/js-cookie/src/js.cookie.js')



Expand Down

0 comments on commit 6f79b4f

Please sign in to comment.