Puma

Results 3 issues of Puma

Using constants Replaces to macros I replaces Macro to static function and constants, because reduplicate macro has conflicts.

我测试过无数次,用用JSPatch 实现Objective-C原生的JSContext无效! 并且,WebView已经正常初始化了,不存在任何问题。self.context()也能console.log()出内存地址! 我写的代码如下: ``` Javascript defineClass('ActionViewController', { webViewDidFinishLoad: function(webView) { self.ORIGwebViewDidFinishLoad(webView); var weakSelf = __weak(self); self.context().setObject_forKeyedSubscript(block(function() { dispatch_async_main(function(){ var vc = SPOfferHomeViewController.viewController(); weakSelf.navigationController().pushViewController_animated(vc, 1); }); }), "openCustomOffer"); self.context().setObject_forKeyedSubscript(block(function() {...

建议加入接口版本管理的功能。。。