Loading template/app/Syntax.js +5 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,11 @@ Ext.define("Docs.Syntax", { */ highlight: function(root) { Ext.Array.forEach(Ext.query("pre > code", root.dom || root), function(el) { Ext.get(el).addCls("prettyprint"); el = Ext.get(el); // Don't prettify inline examples, these are highlighted anyway if (!el.parent().hasCls("inline-example")) { el.addCls("prettyprint"); } }); prettyPrint(); } Loading Loading
template/app/Syntax.js +5 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,11 @@ Ext.define("Docs.Syntax", { */ highlight: function(root) { Ext.Array.forEach(Ext.query("pre > code", root.dom || root), function(el) { Ext.get(el).addCls("prettyprint"); el = Ext.get(el); // Don't prettify inline examples, these are highlighted anyway if (!el.parent().hasCls("inline-example")) { el.addCls("prettyprint"); } }); prettyPrint(); } Loading