From 472cf099a0373809eddb663ca4878c241bc86085 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Mon, 6 Sep 2010 12:58:43 +0200 Subject: [PATCH 1/1] add version to codemirror dir, to avoid caching problems --- apps/wiki/templates/wiki/document_details.html | 2 +- apps/wiki/templates/wiki/document_details_readonly.html | 2 +- .../static/js/lib/{codemirror => codemirror-0.8}/codemirror.js | 0 redakcja/static/js/lib/{codemirror => codemirror-0.8}/editor.js | 0 .../static/js/lib/{codemirror => codemirror-0.8}/parsexml.js | 0 redakcja/static/js/lib/{codemirror => codemirror-0.8}/select.js | 0 .../js/lib/{codemirror => codemirror-0.8}/stringstream.js | 0 .../static/js/lib/{codemirror => codemirror-0.8}/tokenize.js | 0 redakcja/static/js/lib/{codemirror => codemirror-0.8}/undo.js | 0 redakcja/static/js/lib/{codemirror => codemirror-0.8}/util.js | 0 redakcja/static/js/wiki/view_editor_source.js | 2 +- 11 files changed, 3 insertions(+), 3 deletions(-) rename redakcja/static/js/lib/{codemirror => codemirror-0.8}/codemirror.js (100%) rename redakcja/static/js/lib/{codemirror => codemirror-0.8}/editor.js (100%) rename redakcja/static/js/lib/{codemirror => codemirror-0.8}/parsexml.js (100%) rename redakcja/static/js/lib/{codemirror => codemirror-0.8}/select.js (100%) rename redakcja/static/js/lib/{codemirror => codemirror-0.8}/stringstream.js (100%) rename redakcja/static/js/lib/{codemirror => codemirror-0.8}/tokenize.js (100%) rename redakcja/static/js/lib/{codemirror => codemirror-0.8}/undo.js (100%) rename redakcja/static/js/lib/{codemirror => codemirror-0.8}/util.js (100%) diff --git a/apps/wiki/templates/wiki/document_details.html b/apps/wiki/templates/wiki/document_details.html index 78612dd2..8387a852 100644 --- a/apps/wiki/templates/wiki/document_details.html +++ b/apps/wiki/templates/wiki/document_details.html @@ -3,7 +3,7 @@ {% block extrabody %} {{ block.super }} - {% endblock %} diff --git a/apps/wiki/templates/wiki/document_details_readonly.html b/apps/wiki/templates/wiki/document_details_readonly.html index 69d085b6..71556a19 100644 --- a/apps/wiki/templates/wiki/document_details_readonly.html +++ b/apps/wiki/templates/wiki/document_details_readonly.html @@ -5,7 +5,7 @@ {% block extrabody %} {{ block.super }} - {% endblock %} diff --git a/redakcja/static/js/lib/codemirror/codemirror.js b/redakcja/static/js/lib/codemirror-0.8/codemirror.js similarity index 100% rename from redakcja/static/js/lib/codemirror/codemirror.js rename to redakcja/static/js/lib/codemirror-0.8/codemirror.js diff --git a/redakcja/static/js/lib/codemirror/editor.js b/redakcja/static/js/lib/codemirror-0.8/editor.js similarity index 100% rename from redakcja/static/js/lib/codemirror/editor.js rename to redakcja/static/js/lib/codemirror-0.8/editor.js diff --git a/redakcja/static/js/lib/codemirror/parsexml.js b/redakcja/static/js/lib/codemirror-0.8/parsexml.js similarity index 100% rename from redakcja/static/js/lib/codemirror/parsexml.js rename to redakcja/static/js/lib/codemirror-0.8/parsexml.js diff --git a/redakcja/static/js/lib/codemirror/select.js b/redakcja/static/js/lib/codemirror-0.8/select.js similarity index 100% rename from redakcja/static/js/lib/codemirror/select.js rename to redakcja/static/js/lib/codemirror-0.8/select.js diff --git a/redakcja/static/js/lib/codemirror/stringstream.js b/redakcja/static/js/lib/codemirror-0.8/stringstream.js similarity index 100% rename from redakcja/static/js/lib/codemirror/stringstream.js rename to redakcja/static/js/lib/codemirror-0.8/stringstream.js diff --git a/redakcja/static/js/lib/codemirror/tokenize.js b/redakcja/static/js/lib/codemirror-0.8/tokenize.js similarity index 100% rename from redakcja/static/js/lib/codemirror/tokenize.js rename to redakcja/static/js/lib/codemirror-0.8/tokenize.js diff --git a/redakcja/static/js/lib/codemirror/undo.js b/redakcja/static/js/lib/codemirror-0.8/undo.js similarity index 100% rename from redakcja/static/js/lib/codemirror/undo.js rename to redakcja/static/js/lib/codemirror-0.8/undo.js diff --git a/redakcja/static/js/lib/codemirror/util.js b/redakcja/static/js/lib/codemirror-0.8/util.js similarity index 100% rename from redakcja/static/js/lib/codemirror/util.js rename to redakcja/static/js/lib/codemirror-0.8/util.js diff --git a/redakcja/static/js/wiki/view_editor_source.js b/redakcja/static/js/wiki/view_editor_source.js index 6975f9b2..4225d1d2 100644 --- a/redakcja/static/js/wiki/view_editor_source.js +++ b/redakcja/static/js/wiki/view_editor_source.js @@ -9,7 +9,7 @@ this.codemirror = CodeMirror.fromTextArea('codemirror_placeholder', { parserfile: 'parsexml.js', - path: STATIC_URL + "js/lib/codemirror/", + path: STATIC_URL + "js/lib/codemirror-0.8/", stylesheet: STATIC_URL + "css/xmlcolors_20100906.css", parserConfig: { useHTMLKludges: false -- 2.20.1