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
{ | |
"extends": ["react-app", "eslint:recommended"], | |
"env": { | |
"browser": true | |
}, | |
"settings": { | |
"react": { | |
"pragma": "React", | |
"version": "detect" | |
} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |
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
$grid-columns: 12; | |
$grid-gutter-width: 30px; | |
$grid-breakpoints: ( | |
// This is added so bootstrap doesnt throw a warning on compilation | |
xs: 0, | |
// Extra small screen / phone | |
sm: 320px, | |
// Small screen / phone | |
md: 480px, |
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://emberjs.com/blog/2015/05/24/another-two-oh-status-update.html#toc_removals |
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
Simple Complexity Changes | |
- Move translations from JS to HBS file | |
- Use ES6 fat arrow instead of anonymous functions | |
- Remove 'self' and use 'this' instead. This will tie with the previous rule, since the fat arrow allows for use of 'this' | |
from the parent scope, rather than needing a variable like 'self' or 'that' for context | |
- Computed properties are awesome and should be used whenever possible. | |
Computed properties prevent us from doing a lot of setting or getting of different variables in our code. |