lib/har/viewer/scripts/tabs/aboutTab.js in har-0.1.0 vs lib/har/viewer/scripts/tabs/aboutTab.js in har-0.1.1

- old
+ new

@@ -1,2 +1,4 @@ -require.def("tabs/aboutTab",["domplate/domplate","domplate/tabView","core/lib","i18n!nls/harViewer"],function(Domplate,TabView,Lib,Strings){with(Domplate){function AboutTab(){}AboutTab.prototype={id:"About",label:Strings.aboutTabLabel,tabHeaderTag:A({"class":"$tab.id\\Tab tab",view:"$tab.id",_repObject:"$tab"},"$tab.label",SPAN(" "),SPAN({"class":"version"},"$tab.tabView.version")),bodyTag:DIV({"class":"aboutBody"}),onUpdateBody:function(a,b){var c=this;b=this.bodyTag.replace({},b),require(["text!tabs/aboutTab.html"],function(d){d=d.replace("@VERSION@",a.version,"g"),d=d.replace("@HAR_SPEC_URL@",a.harSpecURL,"g"),b.innerHTML=d,$(".linkSchema").click(Lib.bind(c.onSchema,c))})},onSchema:function(){this.tabView.selectTabByName("Schema")}};return AboutTab}}) +/* See license.txt for terms of usage */ + +define("tabs/aboutTab",["domplate/domplate","domplate/tabView","core/lib","i18n!nls/harViewer"],function(Domplate,TabView,Lib,Strings){with(Domplate){function AboutTab(){}return AboutTab.prototype={id:"About",label:Strings.aboutTabLabel,tabHeaderTag:A({"class":"$tab.id\\Tab tab",view:"$tab.id",_repObject:"$tab"},"$tab.label",SPAN(" "),SPAN({"class":"version"},"$tab.tabView.version")),bodyTag:DIV({"class":"aboutBody"}),onUpdateBody:function(e,t){var n=this;t=this.bodyTag.replace({},t),require(["text!tabs/aboutTab.html"],function(r){r=r.replace("@VERSION@",e.version,"g"),r=r.replace("@HAR_SPEC_URL@",e.harSpecURL,"g"),t.innerHTML=r,$(".linkSchema").click(Lib.bind(n.onSchema,n))})},onSchema:function(){this.tabView.selectTabByName("Schema")}},AboutTab}}); \ No newline at end of file