Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Yahoo! Mojito Framework

tag: 0.3.25

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 docs
Octocat-spinner-32 examples
Octocat-spinner-32 source
Octocat-spinner-32 .gitignore
Octocat-spinner-32 DEPRECATIONS.md
Octocat-spinner-32 LICENSE.txt
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.md
README.md

Yahoo! Mojito

Mojito is the JavaScript library implementing Cocktails, a JavaScript-based on-line/off-line, multi-device, hosted application platform.

Installation

via GitHub

$ git clone git://github.com/yahoo/mojito.git
$ cd mojito/source
$ npm install -g .
$ npm install .

via npm

$ npm install -g mojito

Quick Start

Create an app and install local Mojito:

$ mojito create app hello
$ cd hello
$ npm install .

Create a mojit:

$ mojito create mojit HelloMojit

Edit application.json to configure mojit so that it looks like:

[
    {
        "settings": [ "master" ],
        "specs": {
            "hello": {
                "type": "HelloMojit"
            }
        }
    }
]

Start the server:

$ mojito start

Go to URL:

http://localhost:8666/@HelloMojit/index

Documentation

General

API Documentation

Discussion/Forums

http://developer.yahoo.com/forum/Yahoo-Mojito

Licensing and Contributions

Mojito is licensed under a BSD license. To contribute to the Mojito project, please see Contributing.

The Mojito project is a meritocratic, consensus-based community project which allows anyone to contribute and gain additional responsibilities.

Third-party libraries

Mojito includes the Mulib software available here:

https://github.com/raycmorgan/Mu

Something went wrong with that request. Please try again.