Skip to content

Commit

Permalink
configure ADVANCED compilation for demo
Browse files Browse the repository at this point in the history
  • Loading branch information
novakps committed Jan 4, 2011
1 parent 7b4bb9a commit af9f491
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 44 deletions.
2 changes: 1 addition & 1 deletion kemia/controller/molecule_editor_demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Molecule Editor Demo</title>
<script src="http://localhost:9810/compile?id=controller_molecule_editor_demo&mode=raw"></script>
<script src="http://10.37.129.2:9810/compile?id=controller_molecule_editor_demo"></script>

<link rel="stylesheet" href="../../css/kemia.css" />
<link rel="stylesheet" href="../../css/demo.css" />
Expand Down
7 changes: 3 additions & 4 deletions kemia/controller/molecule_editor_demo_plovr.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"inputs":"molecule_editor_demo.js",
"level": "VERBOSE",
"mode" : "ADVANCED",
"debug": true,
"pretty-print" : true,
"print-input-delimiter": true,
"export-test-functions": true
"debug": false,
"pretty-print" : false,
"print-input-delimiter": false
}
63 changes: 29 additions & 34 deletions kemia/controller/reaction_editor_demo.html
Original file line number Diff line number Diff line change
@@ -1,36 +1,31 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9" />
<title>kemia.controller.ReactionEditor</title>


<script src="http://10.37.129.2:9810/compile?id=api"></script>


<link rel="stylesheet" href="../../css/kemia.css" />
<link rel="stylesheet" href="../../css/demo.css" />


</head>
<body>

<fieldset>
<legend><h1>Reaction Editor</h1></legend>
<table style="width: 100%">
<tr>
<td>
<div id="reactionEditorToolbar"></div>
<div
style="width: 1000px; height: 400px; overflow: auto; padding: 5px">
<div id="reactionEditorContainer" style="width: 1000px; height: 400px">
</td>
</tr>

</table>

</fieldset>

</body>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>
kemia.controller.ReactionEditor
</title>
<script src="http://10.37.129.2:9810/compile?id=controller_reaction_editor_demo" type="text/javascript">
</script>
<link rel="stylesheet" href="../../css/kemia.css" type="text/css">
<link rel="stylesheet" href="../../css/demo.css" type="text/css">
</head>
<body>
<fieldset>
<h1>
<legend>Reaction Editor</legend>
</h1>
<table style="width: 100%">
<tr>
<td>
<div id="reactionEditorToolbar"></div>
<div style="width: 1000px; height: 400px; overflow: auto; padding: 5px">
<div id="reactionEditorContainer" style="width: 1000px; height: 400px"></div>
</div>
</td>
</tr>
</table>
</fieldset>
</body>
</html>
9 changes: 5 additions & 4 deletions kemia/controller/reaction_editor_demo_plovr.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
"inputs":"reaction_editor_demo.js",
"level": "VERBOSE",
"mode" : "ADVANCED",
"debug": true,
"pretty-print" : true,
"print-input-delimiter": true,
"export-test-functions": true
"define": {
"goog.DEBUG": false
},
"debug": false,
"output-wrapper" : "/*\n * Kemia JavaScript Library %REVISION%\n * http://http://kemia.github.com/\n * \n * Copyright (c) 2010 Paul Novak (paul@wingu.com)\n * \n * Licensed under the Apache License, Version 2.0 \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Date: %TIMESTAMP%\n * Revision: %REVISION%\n */\n(function(){%output%})();"
}
2 changes: 1 addition & 1 deletion kemia/controller/reactioneditor_test.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>kemia.controller.ReactionEditorTest</title>
<script src="http://localhost:9810/compile?id=controller_reactioneditor_test&mode=raw"></script>
<script src="http://localhost:9810/compile?id=controller_reactioneditor_test"></script>

</head>
<body>
Expand Down

0 comments on commit af9f491

Please sign in to comment.