add "fast" option for transformers
This commit is contained in:
3
test/fixtures/transformation/es6-classes-fast/options.json
vendored
Normal file
3
test/fixtures/transformation/es6-classes-fast/options.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"fast": ["classes"]
|
||||
}
|
||||
@@ -17,8 +17,8 @@ var _inherits = function (subClass, superClass) {
|
||||
|
||||
var BaseController = (function (_Chaplin$Controller) {
|
||||
function BaseController() {
|
||||
if (Chaplin.Controller != null) {
|
||||
Chaplin.Controller.apply(this, arguments);
|
||||
if (_Chaplin$Controller != null) {
|
||||
_Chaplin$Controller.apply(this, arguments);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,8 +29,8 @@ var BaseController = (function (_Chaplin$Controller) {
|
||||
|
||||
var BaseController2 = (function (_Chaplin$Controller$Another) {
|
||||
function BaseController2() {
|
||||
if (Chaplin.Controller.Another != null) {
|
||||
Chaplin.Controller.Another.apply(this, arguments);
|
||||
if (_Chaplin$Controller$Another != null) {
|
||||
_Chaplin$Controller$Another.apply(this, arguments);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"optional": ["classesFastSuper"]
|
||||
}
|
||||
Reference in New Issue
Block a user