Skip to content

Commit

Permalink
Release 1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
grullo90 committed Jan 11, 2018
1 parent 390ee23 commit 5fa1863
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
bower_components
node_modules
pack.tgz
1 change: 1 addition & 0 deletions .npmignore
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
bower_components
dist
node_modules
pack.tgz
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "xp-request",
"description": "A class used to provide XHR functionality",
"version": "1.2.0",
"version": "1.2.1",
"license": "BSD-3-Clause",
"homepage": "https://expandjs.com/classes/xp-request",

Expand Down
2 changes: 1 addition & 1 deletion dist/xp-request.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,10 @@ module.exports = new XP.Class('XPRequest', {
*
* @method abort
* @param {Function} [callback]
* @returns {Promise}
*/
abort: {
callback: true,
promise: true,
value(callback) {

// Checking
Expand All @@ -201,9 +202,10 @@ module.exports = new XP.Class('XPRequest', {
* @method submit
* @param {*} [data]
* @param {Function} [callback]
* @returns {Promise}
*/
submit: {
callback: true,
promise: true,
value(data, callback) {

// Checking
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "xp-request",
"description": "A class used to provide XHR functionality",
"version": "1.2.0",
"version": "1.2.1",
"license": "BSD-3-Clause",
"homepage": "https://expandjs.com/classes/xp-request",
"author": "ExpandJS <[email protected]> (https://expandjs.com)",
Expand Down

0 comments on commit 5fa1863

Please sign in to comment.