/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk

« back to all changes in this revision

Viewing changes to codeigniter/application/models/codeviewer/codeviewer_model.php

  • Committer: a11patfr at his
  • Date: 2013-05-14 13:06:42 UTC
  • mto: This revision was merged to the branch mainline in revision 66.
  • Revision ID: a11patfr@student.his.se-20130514130642-8r1gbgia04ral77a
Codeviewer work underway. 
HeadTag got a new loop for inclusion of javascripts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
                                $output .=  '<script type="text/javascript">
29
29
                                var Range = require("ace/range").Range;
30
30
                                var editor = ace.edit("ace_'.str_replace(".", "", $row->fileName).'");
31
 
                                editor.setTheme("ace/theme/merbivore");
 
31
                                editor.setTheme("ace/theme/eclipse");
32
32
                                editor.getSession().setMode("ace/mode/'.$row->codeLanguage.'");
33
33
                                editor.setReadOnly(true);
34
34
                                editor.setShowPrintMargin(false);