История изменений
Исправление special-k, (текущая версия) :
например
class Control.BaseControl
constructor: (params)->
if params?
for k,v of params
@[k] = v
@doms = []
Control.BaseControl = (function() {
function BaseControl(params) {
var k, v;
if (params != null) {
for (k in params) {
v = params[k];
this[k] = v;
}
}
this.doms = [];
}
}
Control.BaseControl = (function() {
function a(params) {
...
}
}
Исходная версия special-k, :
например
class Control.BaseControl
constructor: (params)->
if params?
for k,v of params
@[k] = v
@doms = []
Control.BaseControl = (function() {
function BaseControl(params) {
var k, v;
if (params != null) {
for (k in params) {
v = params[k];
this[k] = v;
}
}
this.doms = [];
}
}
Control.BaseControl = (function() {
function a(params) {
}
}