Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git] / docs / app / Syntax.js
diff --git a/docs/app/Syntax.js b/docs/app/Syntax.js
deleted file mode 100644 (file)
index 0ad38cd..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * Utility for performing syntax highlighting.
- */
-Ext.define("Docs.Syntax", {
-    singleton: true,
-
-    /**
-     * Marks all code blocks with "prettyprint" class and then calls
-     * the prettify library function to highlight them.
-     *
-     * @param {HTMLElement/Ext.core.Element} root HTML element inside
-     * which to perform the highlighting.
-     */
-    highlight: function(root) {
-        Ext.Array.forEach(Ext.query("pre > code", root.dom || root), function(el) {
-            Ext.get(el).addCls("prettyprint");
-        });
-        prettyPrint();
-    }
-});