From 1c5685d68f1b73270fb814fe04cbb490eb90ba5f Mon Sep 17 00:00:00 2001 From: mensonge Date: Fri, 14 Nov 2008 15:39:19 +0000 Subject: Minor fix: Remove DOJO library (60Mo) replaced by link to Google CDN (online DOJO library) git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@159 b3834d28-1941-0410-a4f8-b48e95affb8f --- .../js/dojox/highlight/tests/test_pygments.html | 142 --------------------- 1 file changed, 142 deletions(-) delete mode 100644 includes/js/dojox/highlight/tests/test_pygments.html (limited to 'includes/js/dojox/highlight/tests/test_pygments.html') diff --git a/includes/js/dojox/highlight/tests/test_pygments.html b/includes/js/dojox/highlight/tests/test_pygments.html deleted file mode 100644 index 6bdced6..0000000 --- a/includes/js/dojox/highlight/tests/test_pygments.html +++ /dev/null @@ -1,142 +0,0 @@ - - -
-Current theme from the pygments set: - -
- -Javascript:
- -function initHighlight(block) {
- if (block.className.search(/\bno\-highlight\b/) != -1)
- return false;
- try {
- blockText(block);
- } catch (e) {
- if (e == 'Complex markup')
- return;
- }//try
- var classes = block.className.split(/\s+/);
- for (var i = 0; i < classes.length; i++) {
- if (LANGUAGES[classes[i]]) {
- highlightLanguage(block, classes[i]);
- return;
- }//if
- }//for
- highlightAuto(block);
-}//initHighlight
-
-Some CSS code:
- -body,
-html {
- font: Tahoma, Arial, sans-serif;
-}
-
-#content {
- width: 100%; /* test comment */
- height: 100%
-}
-
-p[lang=ru] {
- color: red;
-}
-
-
-Some HTML code:
- -<head>
- <title>Title</title>
-<body>
- <p class="something">Something</p>
- <p class=something>Something</p>
- <!-- comment -->
- <p class>Something</p>
- <p class="something" title="p">Something</p>
-</body>
-
-
-A custom XML document:
- -<?xml version="1.0"?>
-<response value="ok">
- <text>Ok</text>
- <comment/>
- <ns:description><![CDATA[
- CDATA is <not> magical.
- ]]></ns:description>
-</response>
-
-
-
-
--
cgit v1.3-2-g0d8e