Make modularized builds work in the unit test.

Former-commit-id: 2d56960e70a2f8c16087cc88c66008e766ea8338
This commit is contained in:
John-David Dalton
2013-07-07 17:09:47 -07:00
parent 9b21656314
commit 30d0fbeae6
3 changed files with 6 additions and 7 deletions

View File

@@ -14,7 +14,7 @@
toString = Object.prototype.toString;
/** Use a single "load" function */
var load = typeof require == 'function' ? require : window.load;
var load = !amd && typeof require == 'function' ? require : window.load;
/** The file path of the Lo-Dash file to test */
var filePath = (function() {