Instantly share code, notes, and snippets.

View styles.css
@-moz-document url-prefix("https://www.flowdock.com/app") {
/* Non-threaded */
/* Hide the thread icons*/
.bubble-container .bubble-icon {
display: none;
}
/* Re-enable the left border */
.bubble-container .bubble {
View script.js
var root = document.body
m.render(root, [
m("main", [
m("h1", {class: "title"}, "My first app"),
m("button", "A button"),
])
])
View serve.js
"use strict";
var path = require("path"),
server = require("connect")(),
ecstatic = require("ecstatic")(process.cwd(), {
cache : 0,
handleError : false
});
View setWithImplicitPriorities.js
var traverse = require("traverse");
// Traverse object, calculate priority at each level
// so order is maintained (barf barf barf)
traverse(obj).forEach(function(value) {
if(this.isRoot) {
priority = 0;
return;
}
View sizes.md
513,045 falcor.js
278,833 falcor.min.js
276,966 falcor-norx.js
161,130 falcor-norx.min.js
 98,226 falcor.js.gz
 57,624 falcor-norx.js.gz
 54,552 falcor.min.js.gz
 32,932 falcor-norx.min.js.gz
View reporter.js
var sweetie = Sweetie.globalize(),
output = "",
start = Date.now(),
failures, passed;
sweetie.run(function(status, test, args) {
if(status === "finish") {
output += "\n\nTests completed in " + (Date.now() - start) + "ms";
return JS.reply({