- Easy to get started
- Easy to install/write a plugin
Plugin Interface
{ "collection" : | |
{ | |
"version" : "1.0", | |
"href" : "http://example.org/friends/", | |
"items" : | |
[ | |
{ | |
"href" : "...", | |
"data" : |
[ | |
{ | |
"transaction": "{id}", | |
"country": "...", | |
"amount": "...", | |
"experiment": "...", | |
"device": "...", | |
"longitude": "...", | |
"latitude": "...", | |
"timestamp": "..." |
%% Create the state | |
State1 = ot_text:create(), | |
%% Make an op. Let's say the request wanted to add "foo" at position 0 | |
Op1 = #ot_text_r{i="foo",p=0}, | |
%% Apply the operation | |
State2 = ot_text:apply(State1, [Op1]), | |
%% State2 now equals "foo" |
var deps = [ | |
'myapp.services', | |
'myapp.directives', | |
'myapp.controllers' | |
]; | |
var app = angular.module('myapp', deps); |
module.exports = | |
init: (req, options, next)-> | |
next null, {} | |
# Returning non-true values will result in 404 Not Found. | |
# Default: true | |
resourceExists: (req, context, next)-> | |
next null, true |
/** | |
* @license AngularJS v1.1.0-de024355 | |
* (c) 2010-2012 Google, Inc. http://angularjs.org | |
* License: MIT | |
*/ | |
(function(window, document, undefined) { | |
'use strict'; | |
//////////////////////////////////// |
function(req, res) { | |
var response = {}; | |
var urls = ["http://test.com", "http://other.test.com"]; | |
// Iterate the urls | |
services.forEach(function(service){ | |
get(service, function(err, data){ | |
// Handle error | |
if(err) res.render('error', err); |
(function() { | |
window.DS = Ember.Namespace.create({ | |
CURRENT_API_REVISION: 4 | |
}); | |
})(); | |
(function() { |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Nujii Studio</title> | |
<meta name="description" content=""> | |
<meta name="author" content="Scott Wall"> |