Permalink
Browse files

another fix for new deferred

  • Loading branch information...
1 parent 445b0c8 commit 940969b617bceec9fb52e7ea242cf43792285336 @jamuhl jamuhl committed Feb 13, 2013
View
@@ -566,6 +566,7 @@
if (cb) cb(translate);
if (deferred) deferred.resolve();
if (deferred) return deferred.promise();
+ return;
}
// languages to load

Large diffs are not rendered by default.

Oops, something went wrong.
View
Binary file not shown.
@@ -562,6 +562,7 @@
if (cb) cb(translate);
if (deferred) deferred.resolve();
if (deferred) return deferred.promise();
+ return;
}
// languages to load
Binary file not shown.
@@ -563,6 +563,7 @@
if (cb) cb(translate);
if (deferred) deferred.resolve();
if (deferred) return deferred.promise();
+ return;
}
// languages to load
View
@@ -48,6 +48,7 @@ function init(options, cb) {
if (cb) cb(translate);
if (deferred) deferred.resolve();
if (deferred) return deferred.promise();
+ return;
}
// languages to load

0 comments on commit 940969b

Please sign in to comment.