Skip to content

Commit

Permalink
Updated demo site
Browse files Browse the repository at this point in the history
  • Loading branch information
mrg2001 committed Nov 29, 2016
1 parent 2a3480f commit 880a9e5
Show file tree
Hide file tree
Showing 1,861 changed files with 20 additions and 242,370 deletions.
14 changes: 14 additions & 0 deletions demos/code-mirror2.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// ------
// Init Code Mirror mixed HTML in one command

$(function () {
$('head').append(
'<!-- CODE MIRROR -->\n'+
'<link rel="stylesheet" href="code-mirror.css">\n'+
'<script src="../js/CodeMirror-3.15/lib/codemirror.js"></script>\n'+
'<script src="../js/CodeMirror-3.15/mode/javascript/javascript.js"></script>\n'+
'<script src="../js/CodeMirror-3.15/mode/htmlmixed/htmlmixed.js"></script>\n'+
'<script src="../js/CodeMirror-3.15/mode/css/css.js"></script>\n'+
'<script src="../js/CodeMirror-3.15/mode/xml/xml.js"></script>\n'
);
});
2 changes: 1 addition & 1 deletion demos/index-site.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link rel="stylesheet" type="text/css" media="screen" href="index.css"/>
<script type="text/javascript" src="/web/js/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="/src/w2ui-1.5.rc1.min.js"></script>
<script type="text/javascript" src="code-mirror.js"></script>
<script type="text/javascript" src="code-mirror2.js"></script>
<script type="text/javascript" src="index.js"></script>
</head>
<body>
Expand Down
1 change: 1 addition & 0 deletions demos/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ $(function () {
' <textarea name="html">'+ html.replace(/<textarea/gi, '&lt;textarea').replace(/<\/textarea>/gi, '&lt;/textarea&gt;') +'</textarea>'+
' <textarea name="js">'+ js +'</textarea>'+
' <textarea name="css">'+ css +'</textarea>'+
' <textarea name="wrap">l</textarea>'+
'</form>'+
'</div>');
});
Expand Down
271 changes: 0 additions & 271 deletions site/demos/code-mirror.css

This file was deleted.

14 changes: 0 additions & 14 deletions site/demos/code-mirror.js

This file was deleted.

5 changes: 0 additions & 5 deletions site/demos/data/content1.html

This file was deleted.

24 changes: 0 additions & 24 deletions site/demos/data/content2.html

This file was deleted.

3 changes: 0 additions & 3 deletions site/demos/data/data.php

This file was deleted.

Loading

0 comments on commit 880a9e5

Please sign in to comment.