NetEaseWD / NEJ

跨平台WEB前端开发框架
Other
55 stars 13 forks source link

chainable 的 _$click 或者通过_$implement的 方法 在混淆时 会报错 #4

Closed leeluolee closed 8 years ago

leeluolee commented 11 years ago

主要是混淆工具不会混淆字符串

$click $after 等倒无所谓 初步是决定 删除这些方法了 没有太好的解决方式,主要是_$implement
初步决定 $implement 只允许传入object类型的扩展 即不能

$._$implement("_$method1", fn, options)

只能

$._$implement({_$method1: fn}, options)

不确定是否还有别的接口影响到...

genify commented 8 years ago

This issue was moved to NEYouFan/nej-framework#4