Permalink
Browse files

update for typeof provide check in ender-builder

  • Loading branch information...
1 parent 5e441fc commit 53e5d14b436fe2f19922b99be215db7e94143002 @rvagg rvagg committed Jan 11, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 package.json
  2. +1 −1 test/functional/common.js
View
@@ -16,7 +16,7 @@
, "ender-minify" : "~0.1.0"
, "ender-dependency-graph" : "~0.0.1"
, "ender-args-parser" : "~0.0.1"
- , "ender-builder" : "~0.0.2"
+ , "ender-builder" : "~0.0.4"
, "ender-installer" : "~0.0.0"
, "colors" : "~0.6.0"
@@ -33,7 +33,7 @@ var buster = require('buster')
, copyrightCommentRe = /\/\*![\s\S]*?\*\//g
, makeSourceProvideRegex = function (pkg) {
- return RegExp('[;, ]provide\\("' + pkg + '",[\\s\\n]*?\\w+\\.exports\\)[;,]')
+ return RegExp('\\Wprovide\\("' + pkg + '",[\\s\\n]*?\\w+\\.exports\\)[;,]')
}
buster.assertions.add('sourceHasProvide', {

0 comments on commit 53e5d14

Please sign in to comment.