Pull request Compare This branch is 4 commits ahead, 38 commits behind develop.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
mojits/Notepad
yui_modules
README.txt
app.js
application.json
index.js
package.json
routes.json

README.txt

Notes
-----

Create project and mojit

    mojito create app simple yui_module
    mojito create mojit simple Notepad
    
Put a YUI Gallery Module in ./yui_modules/ AND rename it to include an affinity:

    mkdir ./yui_modules/
    wget -O ./yui_modules/storage-lite.client.js \
        https://raw.github.com/rgrove/storage-lite/master/src/storage-lite.js

Edit application.json "specs":

    "notepad": {
        "type": "HTMLFrameMojit",
        "config": {
            "deploy": true,
            "title": "Notepad example",
            "child": {
                "type": "Notepad"
            }
        }
    }

Add to routes.json:

    "/": {
        "call": "notepad.index",
        "path": "/",
        "verbs": ["get"]
    }

Edit controller index action:

    ac.done();

Add view and binder.