Permalink
Browse files

added slash to path for main-build in builder

Signed-off-by: Nick Jonas <njonas45@gmail.com>
  • Loading branch information...
1 parent 06f5431 commit c6462253ad2ebf26a8aba7eb67ac0e1cd0bf86ed @nick-jonas committed Jan 31, 2013
Showing with 4 additions and 2 deletions.
  1. +2 −0 TODO
  2. +1 −1 bin/assemble.js
  3. +1 −1 lib/commands/builder.js
View
@@ -0,0 +1,2 @@
+# add to-do functionality
+ - htaccess routes /todo to app that reads everything from to-do file
View
@@ -9,7 +9,7 @@ var commands = require('../lib/commands'),
// initialize program
program
- .version('0.2.3')
+ .version('0.2.4')
.option('-w, --watch', 'Watch an AssembleJS project')
.option('-b, --build', 'Build production-ready files')
.parse(process.argv);
@@ -78,7 +78,7 @@ var _editIndex = function(){
// remove live reload
$('#live-reload').remove();
// change main src
- $('#require-lib').removeAttr('data-main').attr('src', 'assets/js/main-build.js');
+ $('#require-lib').removeAttr('data-main').attr('src', '/assets/js/main-build.js');
// write finished file
fs.writeFile(index_file, $.html(), function(err){
if(err) throw err;

0 comments on commit c646225

Please sign in to comment.