Permalink
Browse files

build: ignore deps that aren't strings

  • Loading branch information...
neonstalwart committed Apr 12, 2012
1 parent 1bcdc7e commit cab766f55c43850bb9cb4022a23dac050c394acf
Showing with 6 additions and 0 deletions.
  1. +6 −0 build/transform.js
View
@@ -89,8 +89,14 @@ define([
deps = resource.deps;
function processDep(dep) {
+ // if any deps have been defined inline, ignore them
+ if (typeof dep !== 'string') {
+ return;
+ }
+
var info = bc.getSrcModuleInfo(dep, resource),
module = bc.resources[info.url];
+
if (module) {
deps.push(module);
}

0 comments on commit cab766f

Please sign in to comment.