comparison static/js/wikked.js @ 61:130eccd396d8

Now using Boostrap with LESS.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 06 Feb 2013 08:22:31 -0800
parents 8250c977bc50
children 97efd73f2158
comparison
equal deleted inserted replaced
60:8250c977bc50 61:130eccd396d8
8 paths: { 8 paths: {
9 jquery: 'jquery-1.8.3.min', 9 jquery: 'jquery-1.8.3.min',
10 underscore: 'underscore-min', 10 underscore: 'underscore-min',
11 backbone: 'backbone-min', 11 backbone: 'backbone-min',
12 handlebars: 'handlebars-1.0.rc.1', 12 handlebars: 'handlebars-1.0.rc.1',
13 bootstrap: '/bootstrap/js/bootstrap.min' 13 bootstrap_modal: '/bootstrap/js/bootstrap-modal'
14 }, 14 },
15 shim: { 15 shim: {
16 'jquery': { 16 'jquery': {
17 exports: '$' 17 exports: '$'
18 }, 18 },
24 exports: 'Backbone' 24 exports: 'Backbone'
25 }, 25 },
26 'handlebars': { 26 'handlebars': {
27 exports: 'Handlebars' 27 exports: 'Handlebars'
28 }, 28 },
29 'bootstrap': { 29 'bootstrap_modal': {
30 deps: ['jquery'] 30 deps: ['jquery']
31 } 31 }
32 } 32 }
33 }); 33 });
34 34
42 */ 42 */
43 require([ 43 require([
44 'wikked/app', 44 'wikked/app',
45 'wikked/handlebars', 45 'wikked/handlebars',
46 'backbone', 46 'backbone',
47 'bootstrap',
48 'text' 47 'text'
49 ], 48 ],
50 function(app, hb, Backbone, textExtension) { 49 function(app, hb, Backbone, textExtension) {
51 50
52 var router = new app.Router(); 51 var router = new app.Router();