Use bower to install underscore and backbone.
Showing
3 changed files
with
26 additions
and
1 deletions
bower.json
0 → 100644
1 | { | ||
2 | "name": "solr-frontend", | ||
3 | "version": "0.0.0", | ||
4 | "authors": [ | ||
5 | "Adam Heath <adam@brainfood.com>" | ||
6 | ], | ||
7 | "description": "Solr Frontend", | ||
8 | "license": "Apache", | ||
9 | "ignore": [ | ||
10 | "**/.*", | ||
11 | "node_modules", | ||
12 | "src/lib/bower", | ||
13 | "test", | ||
14 | "tests" | ||
15 | ], | ||
16 | "dependencies": { | ||
17 | "backbone": "~1.1.2", | ||
18 | "underscore": "~1", | ||
19 | "requirejs": "~2.1.17" | ||
20 | } | ||
21 | } |
... | @@ -6,7 +6,10 @@ require = (function() { | ... | @@ -6,7 +6,10 @@ require = (function() { |
6 | var require = { | 6 | var require = { |
7 | baseUrl: 'scripts', | 7 | baseUrl: 'scripts', |
8 | deps: ['main'], | 8 | deps: ['main'], |
9 | paths: {}, | 9 | paths: { |
10 | 'backbone': '../lib/bower/backbone/backbone', | ||
11 | 'underscore': '../lib/bower/underscore/underscore', | ||
12 | }, | ||
10 | }; | 13 | }; |
11 | return require; | 14 | return require; |
12 | })(); | 15 | })(); | ... | ... |
-
Please register or sign in to post a comment