forked from YahooArchive/mojito
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d7ce407
Showing
1,610 changed files
with
157,057 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
Copyright (c) 2011-2012, Yahoo! Inc. All rights reserved. | ||
|
||
Redistribution and use of this software in source and binary forms, | ||
with or without modification, are permitted provided that the following | ||
conditions are met: | ||
|
||
* Redistributions of source code must retain the above | ||
copyright notice, this list of conditions and the | ||
following disclaimer. | ||
|
||
* Redistributions in binary form must reproduce the above | ||
copyright notice, this list of conditions and the | ||
following disclaimer in the documentation and/or other | ||
materials provided with the distribution. | ||
|
||
* Neither the name of Yahoo! Inc. nor the names of its | ||
contributors may be used to endorse or promote products | ||
derived from this software without specific prior | ||
written permission of Yahoo! Inc. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS | ||
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED | ||
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A | ||
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
clean:: | ||
find . -type d -name "artifacts" -exec rm -rf {} \; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Yahoo! Mojito | ||
|
||
Mojito is the JavaScript library implementing Cocktails, a JavaScript-based | ||
on-line/off-line, multi-device, hosted application platform. | ||
|
||
## Installation | ||
|
||
$ npm install mojito | ||
|
||
## Quick Start | ||
|
||
Make an app: | ||
|
||
$ mojito create app simple hello | ||
$ cd hello | ||
|
||
Make a mojit: | ||
|
||
$ mojito create mojit simple 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/hello/index | ||
|
||
## Documentation | ||
|
||
https://github.com/yahoo/mojito/docs/topics | ||
|
||
## Licensing | ||
|
||
Please see the file called LICENSE.txt | ||
|
||
## Third-party libraries | ||
|
||
Mojito includes the Mulib software available here: | ||
|
||
https://github.com/raycmorgan/Mu | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,208 @@ | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | ||
<html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#"> | ||
<head> | ||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> | ||
<title>API: ActionContextAddon Carrier.common (YUI Library)</title> | ||
|
||
<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1327685402.65" /> | ||
<link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1327685402.65" /> | ||
|
||
<script type="text/javascript" src="assets/api-js?stamp=1327685402.65"></script> | ||
<script type="text/javascript" src="assets/ac-js?stamp=1327685402.65"></script> | ||
</head> | ||
|
||
<body id="yahoo-com"> | ||
|
||
<div id="doc3" class="yui-t2"> | ||
<div id="hd"> | ||
<h1><a href="http://developer.yahoo.com/yui/" title="mojito">mojito</a></h1> | ||
<h3>ActionContextAddon <span class="subtitle">0.1.0</span></h3> | ||
<a href="./index.html" title="mojito">mojito</a> | ||
> <a href="./module_ActionContextAddon.html" title="ActionContextAddon">ActionContextAddon</a> | ||
> Carrier.common | ||
|
||
<form onsubmit="return false"> | ||
<div id="propertysearch"> | ||
Search: <input autocomplete="off" id="searchinput" /> | ||
<div id="searchresults"> | ||
| ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
|
||
<div id="bd"> | ||
<div id="yui-main"> | ||
<div class="yui-b"> | ||
<form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form"> | ||
<fieldset> | ||
<legend>Filters</legend> | ||
<span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span> | ||
<span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span> | ||
<span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span> | ||
</fieldset> | ||
</form> | ||
|
||
<h2> | ||
|
||
|
||
|
||
|
||
Class <b property="yui:name">Carrier.common</b> | ||
<span class="extends"> | ||
</span> | ||
|
||
</h2> | ||
<!-- class tree goes here --> | ||
|
||
|
||
|
||
|
||
<div class="summary description" property="yui:description"> | ||
<strong>Access point:</strong> <em>ac.carrier.get()</em> | ||
Carrier catalog addon | ||
</div> | ||
|
||
|
||
<div rel="yui:properties" resource="#properties"> | ||
|
||
</div> | ||
|
||
<div rel="yui:methods" resource="#methods"> | ||
<div class="section method details"> | ||
<h3 id="methods">Methods</h3> | ||
<div class="content"> | ||
<div class="" rel="yui:method" resource="#method_get"> | ||
<h4> | ||
<a name="method_get">get</a></h4> | ||
<div class="detail" > | ||
<code> | ||
|
||
|
||
|
||
void | ||
<strong property="yui:name">get</strong> | ||
( | ||
|
||
|
||
attribute | ||
|
||
|
||
) | ||
</code> | ||
|
||
<div class="description" property="yui:description"> | ||
Returns the attribute of the catalog for the current carrier used for | ||
this request. | ||
</div> | ||
|
||
<div class="description"> | ||
|
||
<dl rel="yui:parameters"> | ||
<dt>Parameters:</dt> | ||
<dd rel="yui:parameter"> | ||
<code><span property="yui:name">attribute</span> | ||
<<span property="yui:type">String</span>> | ||
</code> | ||
<span property="yui:description"> - The name of the catalog attribute e.g "ticker".</span> | ||
</dd> | ||
</dl> | ||
|
||
<dl> | ||
<dt>Returns: | ||
<code property="yui:return"> | ||
void | ||
</code></dt> | ||
<dd property="yui:returnInfo"></dd> | ||
</dl> | ||
|
||
|
||
|
||
|
||
</div> | ||
|
||
</div> | ||
<hr /> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
|
||
<div rel="yui:events" resource="#events"> | ||
|
||
|
||
</div> | ||
|
||
<div rel="yui:attributes" resource="#configattributes"> | ||
|
||
</div> | ||
|
||
</div> | ||
</div> | ||
<div class="yui-b"> | ||
<div class="nav"> | ||
|
||
<div id="moduleList" class="module"> | ||
<h4>Modules</h4> | ||
<ul class="content"> | ||
<li class=""><a href="module_ActionContext.html" title="ActionContext">ActionContext</a></li> | ||
<li class="selected"><a href="module_ActionContextAddon.html" title="ActionContextAddon">ActionContextAddon</a></li> | ||
<li class=""><a href="module_CommonLibs.html" title="CommonLibs">CommonLibs</a></li> | ||
<li class=""><a href="module_MojitoClient.html" title="MojitoClient">MojitoClient</a></li> | ||
<li class=""><a href="module_MojitoServer.html" title="MojitoServer">MojitoServer</a></li> | ||
</ul> | ||
</div> | ||
|
||
<div id="classList" class="module"> | ||
<h4>Classes</h4> | ||
<ul class="content"> | ||
<li class=""><a href="Analytics.common.html" title="Analytics.common">Analytics.common</a></li> | ||
<li class=""><a href="Assets.common.html" title="Assets.common">Assets.common</a></li> | ||
<li class="selected"><a href="Carrier.common.html" title="Carrier.common">Carrier.common</a></li> | ||
<li class=""><a href="Deploy.server.html" title="Deploy.server">Deploy.server</a></li> | ||
<li class=""><a href="Device.common.html" title="Device.common">Device.common</a></li> | ||
<li class=""><a href="I13n.server.html" title="I13n.server">I13n.server</a></li> | ||
<li class=""><a href="Meta.common.html" title="Meta.common">Meta.common</a></li> | ||
</ul> | ||
</div> | ||
|
||
<!-- | ||
<div id="fileList" class="module"> | ||
<h4>Files</h4> | ||
<ul class="content"> | ||
<li class=""><a href="assets.common.js.html" title="assets.common.js">assets.common.js</a></li> | ||
<li class=""><a href="carrier.server.js.html" title="carrier.server.js">carrier.server.js</a></li> | ||
<li class=""><a href="deploy.server.js.html" title="deploy.server.js">deploy.server.js</a></li> | ||
<li class=""><a href="device.server.js.html" title="device.server.js">device.server.js</a></li> | ||
<li class=""><a href="i13n.common.js.html" title="i13n.common.js">i13n.common.js</a></li> | ||
<li class=""><a href="meta.common.js.html" title="meta.common.js">meta.common.js</a></li> | ||
<li class=""><a href="output-adapter.common.js.html" title="output-adapter.common.js">output-adapter.common.js</a></li> | ||
<li class=""><a href="rest.common.js.html" title="rest.common.js">rest.common.js</a></li> | ||
</ul> | ||
</div> | ||
--> | ||
|
||
|
||
<div id="methodsList" class="module"> | ||
<h4>Methods</h4> | ||
<ul class="content"> | ||
<li class=""><a href="#method_get" title="get">get</a></li> | ||
</ul> | ||
</div> | ||
|
||
|
||
|
||
</div> | ||
</div> | ||
</div> | ||
<div id="ft"> | ||
<hr /> | ||
Copyright © 2012 Yahoo! Inc. All rights reserved. | ||
</div> | ||
</div> | ||
<script type="text/javascript"> | ||
ALL_YUI_PROPS = [{"url": "Assets.common.html#method_addBlob", "access": "", "host": "Assets.common", "type": "method", "name": "addBlob"}, {"url": "Assets.common.html#method_addCss", "access": "", "host": "Assets.common", "type": "method", "name": "addCss"}, {"url": "Assets.common.html#method_addJs", "access": "", "host": "Assets.common", "type": "method", "name": "addJs"}, {"url": "Deploy.server.html#method_constructMojitoClientRuntime", "access": "", "host": "Deploy.server", "type": "method", "name": "constructMojitoClientRuntime"}, {"url": "Device.common.html#method_get", "access": "", "host": "Device.common", "type": "method", "name": "get"}, {"url": "Carrier.common.html#method_get", "access": "", "host": "Carrier.common", "type": "method", "name": "get"}, {"url": "I13n.server.html#method_getSpaceid", "access": "", "host": "I13n.server", "type": "method", "name": "getSpaceid"}, {"url": "I13n.server.html#method_make", "access": "", "host": "I13n.server", "type": "method", "name": "make"}, {"url": "Analytics.common.html#method_retrieve", "access": "", "host": "Analytics.common", "type": "method", "name": "retrieve"}, {"url": "Meta.common.html#method_retrieve", "access": "", "host": "Meta.common", "type": "method", "name": "retrieve"}, {"url": "Analytics.common.html#method_setMergeFunction", "access": "", "host": "Analytics.common", "type": "method", "name": "setMergeFunction"}, {"url": "I13n.server.html#method_stampPageView", "access": "", "host": "I13n.server", "type": "method", "name": "stampPageView"}, {"url": "Analytics.common.html#method_store", "access": "", "host": "Analytics.common", "type": "method", "name": "store"}, {"url": "Meta.common.html#method_store", "access": "", "host": "Meta.common", "type": "method", "name": "store"}, {"url": "I13n.server.html#method_trackClickOnly", "access": "", "host": "I13n.server", "type": "method", "name": "trackClickOnly"}, {"url": "I13n.server.html#method_trackForm", "access": "", "host": "I13n.server", "type": "method", "name": "trackForm"}, {"url": "I13n.server.html#method_trackLink", "access": "", "host": "I13n.server", "type": "method", "name": "trackLink"}, {"url": "I13n.server.html#method_trackPageParams", "access": "", "host": "I13n.server", "type": "method", "name": "trackPageParams"}, {"url": "I13n.server.html#method_trackUserLink", "access": "", "host": "I13n.server", "type": "method", "name": "trackUserLink"}]; | ||
</script> | ||
</body> | ||
</html> |
Oops, something went wrong.