function reporting_base (instance, widget) { "use strict"; widget.Base = instance.Widget.extend({ position: 0, init: function (parent, position) { this._super(parent); this.position = position || this.position; }, start: function () { // console.log('Reporting Locoo'); }, getPosition: function () { return this.position; }, setPosition: function (position) { this.position = position; } }); }