cocos2d-x / plugin-x

Plugin-x is the plugin repository for cocos2d-x, it also provides a unified API for plugins.
71 stars 91 forks source link

Bug #5911 fixed some unchanged error_message #71

Closed wuzhiming closed 10 years ago

pandamicro commented 10 years ago

This pull request is for unify the callbacks' parameters format on all platform, precisely, when error occurred, the callback function should have two parameters:

function(code, response) {
    // code is a Number
    // response is an object including "error_message" entry
}

@darkdukey please review it