Add missing declaration
This commit is contained in:
parent
6c0f2483b3
commit
8aec0a3b47
|
@ -92,7 +92,6 @@ DataAccessObject.create = function (data, callback) {
|
|||
var wait = data.length;
|
||||
if (wait === 0) callback(null, []);
|
||||
|
||||
var instances = [];
|
||||
for (var i = 0; i < data.length; i += 1) {
|
||||
(function(d, i) {
|
||||
instances.push(Model.create(d, function(err, inst) {
|
||||
|
|
Loading…
Reference in New Issue