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
BEFORE TRIM DOTS ["..","..","..","src","remoteStorage-modules"] require.js:258 | |
AFTER TRIM DOTS ["..","..","..","src","remoteStorage-modules"] require.js:280 | |
BEFORE TRIM DOTS ["..","..","..","src",".","remoteStorage"] require.js:258 | |
AFTER TRIM DOTS ["..","..","..","src",".","remoteStorage"] require.js:280 | |
BEFORE TRIM DOTS ["..","..","..","src",".","modules","root"] require.js:258 | |
AFTER TRIM DOTS ["..","..","..","src",".","modules","root"] require.js:280 | |
BEFORE TRIM DOTS ["..","..","..","src",".","modules","calendar"] require.js:258 | |
AFTER TRIM DOTS ["..","..","..","src",".","modules","calendar"] require.js:280 | |
BEFORE TRIM DOTS ["..","..","..","src",".","modules","contacts"] require.js:258 | |
AFTER TRIM DOTS ["..","..","..","src",".","modules","contacts"] require.js:280 |
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
http://pastebin.com/ypk5JucZ |
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
privateClient.delareType('video', { | |
"description" : "a reference to a place you'd like to return to at some point.", | |
"type" : "object", | |
"properties": { | |
"title": { | |
"type": "string", | |
"description": "the title of the place the video points to", | |
"required": true | |
} |
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
privateClient.delareType('video', { | |
"description" : "a reference to a place you'd like to return to at some point.", | |
"type" : "object", | |
"properties": { | |
"title": { | |
"type": "string", | |
"description": "the title of the place the video points to", | |
"required": true | |
}, |
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
diff --git a/lib/tasks/assets.rake b/lib/tasks/assets.rake | |
index 4c9b90c..faff2dd 100644 | |
--- a/lib/tasks/assets.rake | |
+++ b/lib/tasks/assets.rake | |
@@ -16,6 +16,7 @@ begin | |
require "jsmin" | |
require "./config/directories" | |
+ | |
def clean_dir(dir) |
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
var server = require('./server/nodejs-example').server; | |
// BEFORE EACH TEST | |
server.resetState(); | |
server.addToken('dummy-token', [':rw']); // gives read-write access on the root path |
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
// WITHOUT PROMISES: | |
tests: [ | |
{ | |
desc: "My async test", | |
run: function(env) { | |
var _this = this; | |
doSomethingThatReturnsAPromise(). | |
then( |
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
// | |
// This script compares the performance of constructing an object | |
// with a bunch of methods from within a function and returning it, | |
// versus using a constructor with a prototype and the 'new' keyword. | |
// | |
// My results: | |
// | |
// node, v0.8.9: | |
// N = 1000000 |
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
var CONNECTED_INDEX_ROUTE = "index"; | |
var CONNECTED_INDEX_ROUTE = "main"; | |
// a function to initialize remoteStorage.js. | |
// I would call this from the "redirect" hook of each route, | |
// example see below. | |
function initializeRemoteStorage(route) { | |
return remoteStorage.claimAccess({ | |
// <module> : <mode> |
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
#include <math.h> | |
int offsetX = 514, offsetY = 504; | |
float minX = -270, maxX = 264; | |
float minY = -271, maxY = 278; | |
void setup() { | |
Serial.begin(9600); | |
} |
OlderNewer