~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/filesystem/browser/media/editor.js

  • Committer: William Grant
  • Author(s): David Coles
  • Date: 2010-05-31 14:23:30 UTC
  • mto: This revision was merged to the branch mainline in revision 1825.
  • Revision ID: coles.david@gmail.com-20100531142330-14iad58omdtg28hs
Editor: Enable syntax support for Javascript and CSS.
This should be all the syntaxes that were supported by CodePress.

Show diffs side-by-side

added added

removed removed

Lines of Context:
167
167
        codemirror.setParser("PythonParser")
168
168
    } else if(lang == 'html') {
169
169
        codemirror.setParser("HTMLMixedParser")
 
170
    } else if(lang == 'css') {
 
171
        codemirror.setParser("CSSParser")
 
172
    } else if(lang == 'javascript') {
 
173
        codemirror.setParser("JSParser")
170
174
    } else {
171
175
        codemirror.setParser("DummyParser")
172
176
    }