Permalink
Browse files

replace for windows fixed #255

  • Loading branch information...
1 parent 37637b0 commit bc575de19b8c472f2bf4060199c1a876f1f0e207 @naimax naimax committed with mde Nov 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/init/build.js
View
@@ -8,7 +8,7 @@ exports.init = function (app, callback) {
, content
, built;
for (var i in modelDir) {
- file = modelDir[i].replace('app/models', '').replace('/', '');
+ file = modelDir[i].replace('app/models', '').replace('app\\models', '').replace('/', '').replace('\\', '');
if (file) {
content = fs.readFileSync(modelDir[i], 'utf8');
files.push("(function(){\n" + content + "}());");

0 comments on commit bc575de

Please sign in to comment.