Skip to content

Commit

Permalink
asyncGet -> getAsync
Browse files Browse the repository at this point in the history
  • Loading branch information
debris committed May 12, 2015
1 parent cd0df61 commit 5f9272c
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions dist/web3-light.js

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

2 changes: 1 addition & 1 deletion dist/web3-light.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/web3-light.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/web3.js

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

2 changes: 1 addition & 1 deletion dist/web3.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/web3.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions lib/web3/property.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Property.prototype.attachToObject = function (obj) {
return prefix + name.charAt(0).toUpperCase() + name.slice(1);
};

obj[toAsyncName('get', name)] = this.asyncGet.bind(this);
obj[toAsyncName('get', name)] = this.getAsync.bind(this);
};

/**
Expand All @@ -97,10 +97,10 @@ Property.prototype.get = function () {
/**
* Should be used to asynchrounously get value of property
*
* @method asyncGet
* @method getAsync
* @param {Function}
*/
Property.prototype.asyncGet = function (callback) {
Property.prototype.getAsync = function (callback) {
var self = this;
RequestManager.getInstance().sendAsync({
method: this.getter
Expand Down

0 comments on commit 5f9272c

Please sign in to comment.