lib/har/viewer/scripts/tabs/schemaTab.js in har-0.0.9 vs lib/har/viewer/scripts/tabs/schemaTab.js in har-0.1.0
- old
+ new
@@ -1,2 +2 @@
-require.def("tabs/schemaTab",["domplate/domplate","domplate/tabView","core/lib","i18n!nls/harViewer","syntax-highlighter/shCore","core/trace"],function(a,h,i,d,e,f){with(a){a=function(){};a.prototype={id:"Schema",label:d.schemaTabLabel,bodyTag:PRE({"class":"javascript:nocontrols:",name:"code"}),onUpdateBody:function(j,g){$.ajax({url:"scripts/preview/harSchema.js",context:this,success:function(b){var c=g.firstChild;c.innerHTML=b;e.SyntaxHighlighter.HighlightAll(c)},error:function(b){f.error("SchemaTab.onUpdateBody; ERROR ",
-b)}})}};return a}});
+require.def("tabs/schemaTab",["domplate/domplate","domplate/tabView","core/lib","i18n!nls/harViewer","syntax-highlighter/shCore","core/trace"],function(Domplate,TabView,Lib,Strings,dp,Trace){with(Domplate){function SchemaTab(){}SchemaTab.prototype={id:"Schema",label:Strings.schemaTabLabel,bodyTag:PRE({"class":"javascript:nocontrols:",name:"code"}),onUpdateBody:function(a,b){$.ajax({url:"scripts/preview/harSchema.js",context:this,success:function(a){var c=b.firstChild;c.innerHTML=a,dp.SyntaxHighlighter.HighlightAll(c)},error:function(a,b){Trace.error("SchemaTab.onUpdateBody; ERROR ",a)}})}};return SchemaTab}})
\ No newline at end of file