- Airbnb [6]
- Amazon.com [8]
- Atlassian [6]
- AT&T [19,20]
- Automattic [6,7]
- AVG Technologies [21]
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
define(function(require) { | |
'use strict'; | |
/* MODULE DEPENDENCIES */ | |
var Backbone = require('backbone'), | |
_ = require('underscore'); | |
/* | |
Backbone.When | |
2014-02-20 by pascal |
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
#!/bin/bash | |
## v1.0.6 | |
## this script will gernerate css stats | |
### example output | |
# CSS STATS | |
# ---------- | |
# Floats: 132 |
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
Handlebars.registerHelper('linkify', function (text) { | |
text = text.replace(/(https?:\/\/\S+)/gi, function (s) { | |
return '<a href="' + s + '">' + s + '</a>'; | |
}); | |
text = text.replace(/(^|)@(\w+)/gi, function (s) { | |
return '<a href="http://twitter.com/' + s + '">' + s + '</a>'; | |
}); | |
text = text.replace(/(^|)#(\w+)/gi, function (s) { |
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
import {src, dest, watch, parallel, series} from 'gulp'; | |
import lintPlugin from 'gulp-lint-plugin'; | |
import testPlugin from 'gulp-test-plugin'; | |
import buildPlugin from 'gulp-build-plugin'; | |
const SRC_DIRECTORY = './src'; | |
const TEST_DIRECTORY = './test'; | |
const DIST_DIRECTORY = './dist'; | |
const lintDir = dir => src(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
module.exports = { | |
config: { | |
// default font size in pixels for all tabs | |
fontSize: 13, | |
// font family with optional fallbacks | |
fontFamily: '"Droid Sans Mono", Menlo, monospace', | |
// terminal cursor background color (hex) | |
cursorColor: '#cccccc', |
/src/parser/spider_monkey_ast.ml
: The type definitions for the AST. Tries to stay very close to ESTree/src/parser/lexer_flow.mll
: The ocamllex lexer logic/src/parser/parser_flow.ml
: The recursive descent JS parser
/src/typing/type_inference_js.ml
: Contains the "entry point" for inference (Function calledinfer_ast
)./src/typing/statement.ml
: Most of the inference logic (runs through the AST and generates the initial constraints)
This is a proposal for a lightning talk at the Reactive 2016 conference.
NOTE: If you like this, star ⭐ the Gist - the amount of stars decides whether it makes the cut! You could also Retweet if you want :)
JavaScript is a dynamic language, and there's nothing wrong with that. It allows quick iteration and lowers barriers. However, sometimes some compile-time type checking is just what you need to keep your code in line and give yourself the confidence to build bigger and faster. Flow gives the best of both worlds. You can have normal JavaScript but you can also add types where they're helpful, and it adds zero cost at runtime. In this talk I'll show Flow as it applies to a Redux & React codebase.
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
<figure class="quote"> | |
<blockquote>It is the unofficial force—the Baker Street irregulars.</blockquote> | |
</figure> |
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
'use strict'; | |
var Marionette = require('backbone.marionette'), | |
Konami; | |
Konami = Marionette.Behavior.extend({ | |
defaults: { | |
code : [38, 38, 40, 40, 37, 39, 37, 39, 66, 65] | |
}, | |
events: { |
OlderNewer