Skip to content

Commit

Permalink
format shimming undefined fix
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Oct 30, 2014
1 parent d812f6f commit 3e8817d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ exports.compileDir = function(dir, options) {

if (!format || detected.format != format) {
changed = true;
source = '"format ' + format + '";' + nl + source;
source = '"format ' + (format || detected.format) + '";' + nl + source;
}
})

Expand Down
12 changes: 6 additions & 6 deletions testlibs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"name": "tests",
"registry": "jspm",
"dependencies": {
"npm:voxel-demo": "^0.0.1",
"text": "^0.0.2",
"mocha": "^1.21.5",
"angular": "^1.3.0",
"bootstrap": "^3.2.0",
"css": "^0.1.0",
"d3": "^3.4.13",
"bootstrap": "^3.2.0",
"github:angular/bower-angular": "^1.3.0",
"jquery": "^2.1.1",
"angular": "^1.3.0",
"github:angular/bower-angular": "^1.3.0"
"mocha": "^1.21.5",
"npm:voxel-demo": "^0.0.1",
"text": "^0.0.2"
}
}

0 comments on commit 3e8817d

Please sign in to comment.