Sha256: 5e5938a4c82851988e4a53374d61197e4c20b14bc026f82fd8ac2ee73235056f

Contents?: true

Size: 1.76 KB

Versions: 22

Compression:

Stored size: 1.76 KB

Contents

({
    optimize: "none",
    preserveLicenseComments: false,
    name: "node_modules/almond/almond",
    baseUrl: "../../",
    paths: {
        ace : "lib/ace",
        demo: "demo/kitchen-sink"        
    },
    packages: [
    ],
    include: [
        "ace/ace"
    ],
    exclude: [
    ],
    out: "./packed.js",
    useStrict: true,
    wrap: false
})<!DOCTYPE html>

<html>
<head>
    <title>Editor</title>
    <link rel="stylesheet" href="../kitchen-sink/styles.css" type="text/css" media="screen" charset="utf-8">    
</head>
<body>
    <div id="optionsPanel" style="position:absolute;height:100%;width:260px">
        <a href="http://c9.io" title="Cloud9 IDE | Your code anywhere, anytime">
            <img id="c9-logo" src="../kitchen-sink/logo.png" style="width: 172px;margin: -9px 30px -12px 51px;">
        </a>
    </div>
    <pre id="editor-container">
        <div style="color:black; padding: 10px">
            demo showing Ace usage with r.js:
            
            install r.js and almond
            and run `<code>r.js -o demo/r.js/build.js</code>`
            
            note that you also need ace/build/src to lazy load modes and themes
            require("ace/config").set("basePath", "../../build/src");
            require("ace/config").set("packaged", true);
        <div>
    </pre>

    <script src="./packed.js" data-ace-base="src" type="text/javascript" charset="utf-8"></script>  
    <script type="text/javascript" charset="utf-8">
        require("ace/config").set("basePath", "../../build/src")
        require("ace/config").set("packaged", true)
        var editor = require("ace/ace").edit("editor-container");
        editor.session.setMode("ace/mode/javascript");
        // editor.session.setValue("var editor = Ace!")
    </script>
</body>
</html>

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/ace-builds/demo/r.js
optimacms-0.4.3 spec/dummy/node_modules/ace-builds/demo/r.js
optimacms-0.4.2 spec/dummy/node_modules/ace-builds/demo/r.js
optimacms-0.3.35 node_modules/ace-builds/demo/r.js
optimacms-0.3.34 node_modules/ace-builds/demo/r.js
agile-proxy-0.1.24 assets/ui/bower_components/ace-builds/demo/r.js
agile-proxy-0.1.23 assets/ui/bower_components/ace-builds/demo/r.js
agile-proxy-0.1.22 assets/ui/bower_components/ace-builds/demo/r.js
agile-proxy-0.1.21 assets/ui/bower_components/ace-builds/demo/r.js
agile-proxy-0.1.20 assets/ui/bower_components/ace-builds/demo/r.js
agile-proxy-0.1.19 assets/ui/bower_components/ace-builds/demo/r.js
agile-proxy-0.1.18 assets/ui/bower_components/ace-builds/demo/r.js
agile-proxy-0.1.13 assets/ui/bower_components/ace-builds/demo/r.js
agile-proxy-0.1.12 assets/ui/bower_components/ace-builds/demo/r.js
agile-proxy-0.1.11 assets/ui/bower_components/ace-builds/demo/r.js
agile-proxy-0.1.10 assets/ui/bower_components/ace-builds/demo/r.js
agile-proxy-0.1.9 assets/ui/bower_components/ace-builds/demo/r.js
agile-proxy-0.1.8 assets/ui/bower_components/ace-builds/demo/r.js
agile-proxy-0.1.7 assets/ui/bower_components/ace-builds/demo/r.js
agile-proxy-0.1.6 assets/ui/bower_components/ace-builds/demo/r.js