You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 15, 2018. It is now read-only.
缘由: 用 spm 配置
"babel": {}
来使用 es6 语法开发。 super 不放在 constructor 第一行报错。ES6 强制规定了 super 必须在 constructor 的第一行? 我只知道 Java 是这样规定的
还是 babel 做的约定 ?
在 Backbone.View 的事件代理 delegateEvents 中,
只有 super 写在 events = {} 之后,才能成功代理事件。
The text was updated successfully, but these errors were encountered: