UNPKG

raptor

Version:

RaptorJS provides an AMD module loader that works in Node, Rhino and the web browser. It also includes various sub-modules to support building optimized web applications.

18 lines (15 loc) 292 B
/** * @extension Node */ define.extend('raptor/promises', function() { "use strict"; var q = require('q'); return { defer: function() { return q.defer(); }, all: function(array) { return q.all(array || []); } }; });