— Brian Moeskau (@bmoeskau)
— Phillip Jacobs (@phillyqueso) & Jason Griffin (@haircuttedfreak)
Organized by Daniel Parker
Thanks for sponsoring tonight's meetup!
Starting [August 7], you can submit your web apps and mobile optimized web sites and have them merchandised alongside native apps on Amazon and Kindle Fire in nearly 200 countries worldwide, without any third-party software or doing any native app development.
Kindle Fire runtime is based on Chromium, GPU-accelerated
Free web app tester available
Amazon in-app purchasing API for JavaScript available
Proxies: Objects with virtualized properties, i.e. detect changes to an object attribute.
let: scope to a block as opposed to fn()
let x = 1;
const: like var, but cannot be changed once it's set.
const pi = 3.141593;
Defaults: Define default arg values
function(a, b=1, c='test'){...}
function* values() {
for (var i = 0; i > arguments.length; i++) {
yield arguments[i];
}
}
var o = values(1,2,3); // Obj. Generator
o.next(); // => { value: 1, done: false }
o.next(); // => { value: 2, done: false }
o.next(); // => { value: 3, done: false }
o.next(); // => { value: undefined, done: true }
Alternative to callbacks & promises!
class Point extends Base {
constructor(x,y) {
super();
this[px] = x, this[py] = y;
this.r = function() { return Math.sqrt(x*x + y*y); }
}
get x() { return this[px]; }
get y() { return this[py]; }
proto_r() { return Math.sqrt(this[px] * this[px] + this[py] * this[py]); }
equals(p) { return this[px] === p[px] && this[py] === p[py]; }
}
Mostly syntactic sugar
module math {
export function sum(x, y) {
return x + y;
}
export var pi = 3.141593;
}
import {sum, pi} from math;
alert(sum(pi, pi));
Many more upcoming features
Several features supported in Node.js
node --harmony myfile.js
Many polyfills work but aren't complete
Spec isn't complete
ES7 work has already started
Name the latest versions of:
Name the latest versions of:
Released August 20
Released August 27
Released August 21
Ember Data beta 1: "a reboot of the data layer"
Focus on performance, docs and testing
Includes Ember Inspector Chrome plugin
Generators for common frameworks (Backbone, Angular, jQuery, etc.)
Helpful grunt config (LiveReload, Sass, Uglify, CoffeeScript, etc.)
"PhantomJS for Gecko"
Works with Firefox 20+, renders in browser (not headless)
Supports Flash, WebGL, audio/video
Easy product tours for web pages
Developed by LinkedIn
var tour = {
id: "hello-hopscotch",
steps: [
{ title: "Step 1", ... },
{ title: "Step 2", ... }
]
};
hopscotch.startTour(tour);
Try a tour
An Internet-connected microcontroller, programmable by JavaScript
Sensors, RFID, Audio, Bluetooth, Micro SD, etc.
Supports Node packages via npm
$ npm install hardware -g
$ tessel shell
> var tessel = require('tessel')
> tessel.led(1).blink()
http://technical.io/
Sept 28-29, free
Oct 10, 5-10pm (free, register now)
Nov 15-16 ($??, not open yet) — more info
Nov 22-24 ($80 advance)
...that the Chrome and Firebug consoles have a handy monitorEvents()
command line utility?
Complete details here. A few examples:
// Named target:
monitorEvents(document.body, ['click', 'mousemove']);
// Target selected in dom:
monitorEvents($0, ['mousemove']);
// Stop monitoring
unmonitorEvents($0, ['mousemove']);
/
#