factory-girl-default
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -350,3 +350,10 @@ /* global window, define */ | ||
} | ||
var adapter = factory.adapterFor(name); | ||
var adapter; | ||
if (model.build) { | ||
adapter = factory.adapterFor(name); | ||
} else { | ||
adapter = defaultAdapter; | ||
} | ||
return adapter.build(model, attrs); | ||
@@ -353,0 +360,0 @@ }; |
@@ -6,3 +6,3 @@ { | ||
"author": "Gonzalo Santome", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"keywords": [ | ||
@@ -9,0 +9,0 @@ "factory", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
69742
1416