@@ -706,21 +706,24 @@ $(window).load(function () {
706
706
$("textarea.html").each(function(idx, textarea) {
707
707
CodeMirror.fromTextArea(textarea, {
708
708
lineNumbers: true,
709
- mode: "htmlmixed"
709
+ mode: "htmlmixed",
710
+ readOnly: true
710
711
});
711
712
});
712
713
713
714
$("textarea.css").each(function(idx, textarea) {
714
715
CodeMirror.fromTextArea(textarea, {
715
716
lineNumbers: true,
716
- mode: "css"
717
+ mode: "css",
718
+ readOnly: true
717
719
});
718
720
});
719
721
720
722
$("textarea.javascript").each(function(idx, textarea) {
721
723
CodeMirror.fromTextArea(textarea, {
722
724
lineNumbers: true,
723
- mode: "javascript"
725
+ mode: "javascript",
726
+ readOnly: true
724
727
});
725
728
});
726
729
});
@@ -867,7 +870,7 @@ function example5(){
867
870
box[0].innerHTML = (++changed) + ' changes. ' + box.parent()[0].clientWidth+'px/'+box.parent()[0].clientHeight+'px';
868
871
});
869
872
}
870
- }).call(this,require("g5I+bs"),typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_e11769b6 .js","/")
873
+ }).call(this,require("g5I+bs"),typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_be55e83e .js","/")
871
874
},{"./css-element-queries/src/ElementQueries":1,"./css-element-queries/src/ResizeSensor":2,"buffer":5,"codemirror/lib/codemirror":6,"codemirror/mode/css/css":7,"codemirror/mode/htmlmixed/htmlmixed":8,"codemirror/mode/javascript/javascript":9,"codemirror/mode/xml/xml":10,"g5I+bs":14,"hammerjs/hammer":11,"jQuery":13}],4:[function(require,module,exports){
872
875
(function (process,global,Buffer,__argument0,__argument1,__argument2,__argument3,__filename,__dirname){
873
876
var lookup = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
0 commit comments