corrade-nucleus-nucleons – Blame information for rev 20
?pathlinks?
Rev | Author | Line No. | Line | ||||
---|---|---|---|---|---|---|---|
20 | office | 1 | ({ |
||||
2 | optimize: "none", |
||||||
3 | preserveLicenseComments: false, |
||||||
4 | name: "node_modules/almond/almond", |
||||||
5 | baseUrl: "../../", |
||||||
6 | paths: { |
||||||
7 | ace : "lib/ace", |
||||||
8 | demo: "demo/kitchen-sink" |
||||||
9 | }, |
||||||
10 | packages: [ |
||||||
11 | ], |
||||||
12 | include: [ |
||||||
13 | "ace/ace" |
||||||
14 | ], |
||||||
15 | exclude: [ |
||||||
16 | ], |
||||||
17 | out: "./packed.js", |
||||||
18 | useStrict: true, |
||||||
19 | wrap: false |
||||||
20 | })<!DOCTYPE html> |
||||||
21 | |||||||
22 | <html> |
||||||
23 | <head> |
||||||
24 | <title>Editor</title> |
||||||
25 | /styles.css" type="text/css" media="screen" charset="utf-8"> |
||||||
26 | </head> |
||||||
27 | <body> |
||||||
28 | <div id="optionsPanel" style="position:absolute;height:100%;width:260px"> |
||||||
29 | <a href="http://c9.io" title="Cloud9 IDE | Your code anywhere, anytime"> |
||||||
30 | <img id="c9-logo" src="../kitchen-sink/logo.png" style="width: 172px;margin: -9px 30px -12px 51px;"> |
||||||
31 | /a> |
||||||
32 | div> |
||||||
33 | "editor-container"> |
||||||
34 | "color:black; padding: 10px"> |
||||||
35 | with r.js: |
||||||
36 | |||||||
37 |
| ||||||
39 | |||||||
40 | note that you also need ace/build/src to lazy load modes and themes |
||||||
41 | require("ace/config").set("basePath", "../../build/src"); |
||||||
42 | require("ace/config").set("packaged", true); |
||||||
43 | <div> |
||||||
44 | </pre> |
||||||
45 | |||||||
46 | <script src="./packed.js" data-ace-base="src" type="text/javascript" charset="utf-8"></script> |
||||||
47 | <script type="text/javascript" charset="utf-8"> |
||||||
48 | require("ace/config").set("basePath", "../../build/src") |
||||||
49 | require("ace/config").set("packaged", true) |
||||||
50 | var editor = require("ace/ace").edit("editor-container"); |
||||||
51 | editor.session.setMode("ace/mode/javascript"); |
||||||
52 | // editor.session.setValue("var editor = Ace!") |
||||||
53 | script> |
||||||
54 | /body> |
||||||
55 | html> |