Аневризма retweeted
GitHub - blacksonic/angular2-es6-starter: Easy Angular 2 development in pure ES6/ES7 syntax with Babel. -... angularjs.posthaven.com/gith…
8
10
Аневризма retweeted
Fantastic deep article on the uses of background-clip by @anatudor css-tricks.com/the-backgound…
22
62
#this isn't #javascript https://nitter.catsarch.com/t.co/kDUIkTBsJu
1
Array.prototype.concatAll = () => { let r = []; this.forEach(s => s.forEach(i => r = [...i, i])); return r; }; #es6 concatAll? @jhusain
1
a predicate function just takes a value and return true or false. #async javascript
Array.prototype.map = projection => { let r = []; this.forEach(item => { r.push(projection(item)); }); return r; }; #javascript #map
Аневризма retweeted
A Deep Dive Into Data: How Forms Are Different in Angular 2.0 angularjs.posthaven.com/a-de…
10
8
Аневризма retweeted
🔥 CSS variables can be updated with JavaScript. Something you can't do with Sass! Demo: codepen.io/wesbos/pen/adQjoY… https://nitter.catsarch.com/t.co/vmd88AKvky
20
537
660
#javascript unary operators can convert strings to numbers +'6' = 6 also Number('6') = 6 parseInt('6') = 6 // since ES5 no need for radix
const i = this.notes.indexOf(note); this.notes = [ ...this.notes.slice(0,i), note, ...this.notes.slice(i+1) ]; #javascript #immutability
Аневризма retweeted
GitHub Pages 👬 Jekyll 3.0 github.com/blog/2100-github-…
20
35
Аневризма retweeted
#Angular 2 Style Guide Community-driven set of best practices for #Angular 2 github.com/mgechev/angular2-… https://nitter.catsarch.com/t.co/5VIVC0rZ47
38
45
Аневризма retweeted
You're already using functional tools like `.map()` and `.reduce()`. Now learn the core concepts. medium.com/javascript-scene/… #JavaScript
2
19
32
#javascript lexical closure, first introduced in #scheme, it means that any function has access to the variables of the outer function.
#angularjs 1.5.0 stable, what you waiting for?
1
2
Аневризма retweeted
Zapier can now handle your most complex tasks with multi-step Zaps thenextweb.com/apps/2016/02/… https://nitter.catsarch.com/t.co/eCSLWZTQUv
22
31
this.pizzas = [...this.pizzas, pizza]; #ES6 ... spread operator aka ellipsis