Hi,
I am having some problems with backbone integration of webix. For example, does this webix code below not need a last line of “return this;”?
render: function () {
if (this.beforeRender) this.beforeRender.apply(this, arguments);
var config = this.config || this.options.config;
var el = this.el ? $(this.el)[0] : document.body;
//clear previous content if any
if (el && !el.config) el.innerHTML = "";
this.root = webix.ui(webix.copy(config), el);
if (this.afterRender) this.afterRender.apply(this, arguments);
return this; // WITHOUT THIS LINE ADDED, IT DOESN'T WORK
},