Permalink
Browse files

v0.1.1

  • Loading branch information...
1 parent b3f4ebc commit d7024d0a145aab876c2eb86c60fb7aff1a2cd3f7 @lightsofapollo committed May 8, 2014
Showing with 14 additions and 9 deletions.
  1. +1 −1 component.json
  2. +3 −1 index.js
  3. +10 −7 package.json
View
@@ -2,7 +2,7 @@
"name": "superagent-promise",
"repo": "lightsofapollo/superagent-promise",
"description": "",
- "version": "0.0.1",
+ "version": "0.1.1",
"keywords": [],
"dependencies": {
"visionmedia/superagent": "~0.18.0"
View
@@ -3,7 +3,9 @@
*/
var superagent = require('superagent');
-var Promise = require('promise');
+
+// in the browser Promise is expected to be defined.
+var Promise = this.Promise || require('promise');
/**
* Request object similar to superagent.Request, but with end() returning
View
@@ -1,6 +1,6 @@
{
"name": "superagent-promise",
- "version": "0.1.0",
+ "version": "0.1.1",
"description": "superagent promise wrapper",
"main": "index.js",
"scripts": {
@@ -21,13 +21,16 @@
"url": "https://github.com/lightsofapollo/superagent-promise/issues"
},
"peerDependencies": {
- "superagent": ">= 0.16.0",
- "promise": ">= 3.2.0"
+ "superagent": ">= 0.16.0",
+ "promise": ">= 3.2.0"
},
"devDependencies": {
- "mocha": "~1.17.1",
- "superagent": ">= 0.16.0",
- "promise": ">= 3.2.0",
- "debug": "0.7.4"
+ "browser-test": "0.0.0-alpha.2",
+ "component": "^1.0.0-rc5",
+ "debug": "0.7.4",
+ "mocha": "~1.17.1",
+ "node-static": "^0.7.3",
+ "promise": ">= 3.2.0",
+ "superagent": ">= 0.16.0"
}
}

0 comments on commit d7024d0

Please sign in to comment.