src/aria/tools/inspector/TemplateInspectorScript.js
function (event) {
            this.data.showSource = !this.data.showSource;
            if (this.data.showSource) {
                this.data.initialSource = true;
                var filePath = this.data.templateCtxt.tplClasspath.replace(/\./g, "/") + ".tpl";
                this.data.source = this.moduleCtrl.getSource(filePath).value;
            }
            this.$refresh();
        }
function (event) {
            this.data.showSource = !this.data.showSource;
            if (this.data.showSource) {
                this.data.initialSource = true;
                var filePath = this.data.templateCtxt.tplClasspath.replace(/\./g, "/") + ".tpl";
                this.data.source = this.moduleCtrl.getSource(filePath).value;
            }
            this.$refresh();
        }
function ( event ) { this . data . showSource = ! this . data . showSource ; if ( this . data . showSource ) { this . data . initialSource = true ; var filePath = this . data . templateCtxt . tplClasspath . replace ( / \. / g , "/" ) + ".tpl" ; this . data . source = this . moduleCtrl . getSource ( filePath ) . value ; } this . $refresh ( ) ; }
Change visibility of source, and retrieve it if not available
@param {aria.DomEvent} event
Change visibility of source and retrieve it if not available