dist/fwi.common.js
/**
     * The init function creates a new region object to keep track of region specific information
     * like location, template name, region name, etc.
     * @param {String} region_name Name of the region you want to control
     * @param {String} template_name Name of the containing template
     * @param {Array} origin_xy Array of the regions' starting top left coordinates, [x,y]
     * @param {Array} origin_size Array of the regions' size [x,y]
     * @return {Obj} New region object
     */
The init function creates a new region object to keep track of region specific information
like location, template name, region name, etc.
The init function creates a new region object to keep track of region specific information like location template name region name etc .
function Region(region_name, template_name, origin_position, origin_size) {
        classCallCheck(this, Region);
        this.region_name = region_name;
        this.template_name = template_name;
        _origin_position.set(this, origin_position);
        _origin_size.set(this, origin_size);
        this.current_position = _origin_position.get(this);
        this.current_size = _origin_size.get(this);
    }
function Region ( region_name , template_name , origin_position , origin_size ) { classCallCheck ( this , Region ) ; this . region_name = region_name ; this . template_name = template_name ; _origin_position . set ( this , origin_position ) ; _origin_size . set ( this , origin_size ) ; this . current_position = _origin_position . get ( this ) ; this . current_size = _origin_size . get ( this ) ; }
The init function creates a new region object to keep track of region specific information
 like location, template name, region name, etc.
The init function creates a new region object to keep track of region specific information like location template name region name etc .