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
function method(value: { prop?: string }) { | |
const savedProp = value.prop; | |
if (savedProp) { | |
otherMethod(); | |
savedProp.charAt(0); | |
} | |
} |
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 obj = { prop: "test" }; | |
function otherMethod() { | |
delete obj.prop; | |
} | |
function method(value: { prop?: string }) { | |
if (value.prop) { | |
otherMethod(); | |
value.prop.charAt(0); |
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
function method(value: { prop?: string }) { | |
if (value.prop) { | |
otherMethod(); | |
value.prop.charAt(0); | |
} | |
} |
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
def addGame(gameId: Long) = Action.async { implicit request => | |
request.body.asJson.map{json => | |
for { | |
players <- json \ "players" | |
} yield Ok() | |
}.getOrElse(Future(BadRequest()) | |
} |
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
// @flow | |
import * as styled from 'styled-components'; | |
const SMALL_COL_NUMBER = 6; | |
const MEDIUM_COL_NUMBER = 8; | |
const LARGE_COL_NUMBER = 12; | |
const XLARGE_COL_NUMBER = 12; | |
const SMALL_GUTTER = 16; | |
const MEDIUM_GUTTER = 24; | |
const LARGE_GUTTER = 24; |
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
// components/Attribute.js | |
function Attribute(props) { | |
return ( | |
<div> | |
<a onClick={props.onClick}> | |
{props.name} | |
</a> | |
</div> | |
); |
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
atom-beautify | |
atom-ternjs | |
docblockr | |
emmet | |
highlight-selected | |
language-scala | |
language-soy | |
linter-eslint | |
pigments | |
react |
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
[ | |
"Aardvark", | |
"Albatross", | |
"Alligator", | |
"Alpaca", | |
"Ant", | |
"Anteater", | |
"Antelope", | |
"Ape", | |
"Armadillo", |
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 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
<link rel="import" href="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-layout/core-layout.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> |