We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我项目里集成了JSONModel,我用JSPatch重新写了JSONModel的+ (JSONKeyMapper *)keyMapper 这个键映射方法,但是不能被调用 require('NSMutableDictionary, JSONKeyMapper') defineClass('KeysModel',{ keyMapper :function(){ var add = NSMutableDictionary.alloc().init(); add.setObject_forKey('qqAppId','qqAppId'); var dict = JSONKeyMapper.alloc().initWithDictionary(ddd);
The text was updated successfully, but these errors were encountered:
类方法是第二个参数
require('NSMutableDictionary, JSONKeyMapper') defineClass('KeysModel', {}, { keyMapper :function(){ } })
Sorry, something went wrong.
好了,谢谢。
No branches or pull requests
我项目里集成了JSONModel,我用JSPatch重新写了JSONModel的+ (JSONKeyMapper *)keyMapper
这个键映射方法,但是不能被调用
require('NSMutableDictionary, JSONKeyMapper')
defineClass('KeysModel',{
keyMapper :function(){
var add = NSMutableDictionary.alloc().init();
add.setObject_forKey('qqAppId','qqAppId');
var dict = JSONKeyMapper.alloc().initWithDictionary(ddd);
The text was updated successfully, but these errors were encountered: