edititem linkButton.clickHandler: Cannot call method 'preventDefault' of undefined react-0.8.0-min.js:7276
Uncaught TypeError: Cannot call method 'preventDefault' of undefined linkComponent.js:7
This file contains hidden or 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
| const sequence = require('run-sequence') | |
| // create a middleware stack | |
| // (obj, obj, [fn(obj, obj, fn)], fn) -> null | |
| function mw (req, res, arr, done) { | |
| const fns = arr.map(fn => (next) => fn(req, res, next)) | |
| sequence(fns, done) | |
| } |
lint
eslint
csslint
unit
mocha
should
The goal is to build a working version of the classic game 'hangman'. A user should keep inputting letters until he/she has guessed the word.
The implementation is considered complete when:
- the computer selects a random word from a dictionary
- the user can input letters to incrementally guess the word
- the user receives feedback on his input
This file contains hidden or 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'; | |
| /** | |
| * Exports | |
| */ | |
| exports = module.exports = container; | |
| /** | |
| * Function chaining example |
# This is a title
- this is a list
- this is a list
[this is a link](link.com)

// this is a comment
alias t='tree -a -L 2 -C -I "node_modules|.git"'- Log all files
- Log 2 levels of indentation
- Use colors
- Don't log
node_modulesand.git
From @heydonworks
I did flex for layout, vw for fonts and ems for padding / margin. Everything scales proportionately to v small sizes.
flexboxfor element layoutvwfor fontsems for margin / padding
OlderNewer