Skip to content

Commit

Permalink
Bumped version, rebuilt
Browse files Browse the repository at this point in the history
  • Loading branch information
RangerMauve committed Jul 28, 2014
1 parent f452ace commit 9d115f2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
23 changes: 12 additions & 11 deletions build/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ function coerce(val) {
}

});
require.register("learnboost-jsonp/index.js", function(exports, require, module){
require.register("webmodules-jsonp/index.js", function(exports, require, module){
/**
* Module dependencies
*/
Expand Down Expand Up @@ -1182,14 +1182,15 @@ require.register("jsonp-promise/index.js", function(exports, require, module){
var jsonp = require("jsonp");
var Promise = require("promise");

module.exports = function jsonp() {
module.exports = function jsonp_promise(url, options) {
var args = [].slice.call(arguments);
return new Promise(function (resolve, reject) {
var args = [].slice.call(arguments).push(function (err, res) {
args.push(function (err, res) {
if (err) reject(err)
else resolve(res);
});

jsonp.apply(null,args);
jsonp.apply(null, args);
});
};

Expand All @@ -1198,16 +1199,16 @@ module.exports = function jsonp() {



require.alias("learnboost-jsonp/index.js", "jsonp-promise/deps/jsonp/index.js");
require.alias("learnboost-jsonp/index.js", "jsonp-promise/deps/jsonp/index.js");
require.alias("learnboost-jsonp/index.js", "jsonp/index.js");
require.alias("visionmedia-debug/browser.js", "learnboost-jsonp/deps/debug/browser.js");
require.alias("visionmedia-debug/debug.js", "learnboost-jsonp/deps/debug/debug.js");
require.alias("visionmedia-debug/browser.js", "learnboost-jsonp/deps/debug/index.js");
require.alias("webmodules-jsonp/index.js", "jsonp-promise/deps/jsonp/index.js");
require.alias("webmodules-jsonp/index.js", "jsonp-promise/deps/jsonp/index.js");
require.alias("webmodules-jsonp/index.js", "jsonp/index.js");
require.alias("visionmedia-debug/browser.js", "webmodules-jsonp/deps/debug/browser.js");
require.alias("visionmedia-debug/debug.js", "webmodules-jsonp/deps/debug/debug.js");
require.alias("visionmedia-debug/browser.js", "webmodules-jsonp/deps/debug/index.js");
require.alias("guille-ms.js/index.js", "visionmedia-debug/deps/ms/index.js");

require.alias("visionmedia-debug/browser.js", "visionmedia-debug/index.js");
require.alias("learnboost-jsonp/index.js", "learnboost-jsonp/index.js");
require.alias("webmodules-jsonp/index.js", "webmodules-jsonp/index.js");
require.alias("then-promise/index.js", "jsonp-promise/deps/promise/index.js");
require.alias("then-promise/core.js", "jsonp-promise/deps/promise/core.js");
require.alias("then-promise/index.js", "promise/index.js");
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "jsonp-promise",
"repo": "rangermauve/jsonp-promise",
"description": "A wrapper for webmodules/jsonp that uses promises",
"version": "1.0.1",
"version": "1.0.2",
"keywords": [],
"dependencies": {
"webmodules/jsonp": "*",
Expand Down

0 comments on commit 9d115f2

Please sign in to comment.