NOTICE: Recent API changes


#1

Hi all!

Just letting you know about an API change that took place. I’ve been wanting to do this forever since it makes styling of all API async methods unified.

// Instead of:

API.call('methodName', {}, function(result) {
}, function(error) {
});

// Do:

API.call('methodName', {}, function(error, result) {
});

The same goes for Application APIs:

// Instead of:

this._call('methodName', {}, function(result) {
}, function(error) {
});

// do:

this._api('methodName', {}, function(error, result) { // ALSO NOTICE THE NEW METHOD NAME
});

That is all :slight_smile:


UPDATE: Version bump - alpha74