Mercurial > wikked
diff static/js/wikked.js @ 63:97efd73f2158
Changed RequireJS paths to make it usable with the optimizer.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 06 Feb 2013 23:48:34 -0800 |
parents | 130eccd396d8 |
children | d5caf4030999 |
line wrap: on
line diff
--- a/static/js/wikked.js Wed Feb 06 17:39:03 2013 -0800 +++ b/static/js/wikked.js Wed Feb 06 23:48:34 2013 -0800 @@ -6,11 +6,12 @@ require.config({ urlArgs: "bust=" + (new Date()).getTime(), paths: { - jquery: 'jquery-1.8.3.min', - underscore: 'underscore-min', - backbone: 'backbone-min', - handlebars: 'handlebars-1.0.rc.1', - bootstrap_modal: '/bootstrap/js/bootstrap-modal' + jquery: 'js/jquery-1.8.3.min', + underscore: 'js/underscore-min', + backbone: 'js/backbone-min', + handlebars: 'js/handlebars-1.0.rc.1', + bootstrap_modal: '/bootstrap/js/bootstrap-modal', + text: 'js/text' }, shim: { 'jquery': { @@ -41,8 +42,8 @@ * by anybody, but need to be evaluated. */ require([ - 'wikked/app', - 'wikked/handlebars', + 'js/wikked/app', + 'js/wikked/handlebars', 'backbone', 'text' ],