examples/example6/example6.js
function (params) {
        this.$id = 'dragBoxUI';
        this.width = 0;
        this.height = 0;
        this.origin = {
            x: params.x,
            y: params.y
        };
    }
function (params) {
        this.$id = 'dragBoxUI';
        this.width = 0;
        this.height = 0;
        this.origin = {
            x: params.x,
            y: params.y
        };
    }
function ( params ) { this . $id = 'dragBoxUI' ; this . width = 0 ; this . height = 0 ; this . origin = { x : params . x , y : params . y } ; }
Define components.
Define components .