Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added slash to path for main-build in builder

Signed-off-by: Nick Jonas <njonas45@gmail.com>
  • Loading branch information...
commit c6462253ad2ebf26a8aba7eb67ac0e1cd0bf86ed 1 parent 06f5431
Nick Jonas authored
Showing with 4 additions and 2 deletions.
  1. +2 −0  TODO
  2. +1 −1  bin/assemble.js
  3. +1 −1  lib/commands/builder.js
2  TODO
View
@@ -0,0 +1,2 @@
+# add to-do functionality
+ - htaccess routes /todo to app that reads everything from to-do file
2  bin/assemble.js
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);
2  lib/commands/builder.js
View
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.