Created
February 26, 2016 20:53
-
-
Save cherihung/2904bac7215aa3e65b12 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _deferredFetch = r.curry(function(response) { | |
var deferred = $q.defer(); | |
deferred.resolve(response); | |
return deferred.promise; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment