add "fast" option for transformers

This commit is contained in:
Sebastian McKenzie
2015-01-13 22:02:04 +11:00
parent f14f72b635
commit 0f55a66f5b
21 changed files with 226 additions and 124 deletions

View File

@@ -0,0 +1,3 @@
{
"fast": ["classes"]
}

View File

@@ -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);
}
}

View File

@@ -1,3 +0,0 @@
{
"optional": ["classesFastSuper"]
}