The Chrome Canary release with the Ambient Light Sensor is now out.
Here's how to experiment:
-
Get Chrome Canary at:
-
Enable the API by navigating to:
The Chrome Canary release with the Ambient Light Sensor is now out.
Here's how to experiment:
Get Chrome Canary at:
Enable the API by navigating to:
The first thing that rave must do is simplify module loading: AMD, node, and ES6 modules. There's almost enough metadata in package.json and bower.json files to eliminate loader configuration. We can provide heuristics and conventions to fill-in the missing data.
If a developer wants to add a new capability to an application's loader, she
| cd ~ | |
| mkdir .gyp | |
| nano .gyp/include.gypi | |
| paste the following | |
| { | |
| 'variables': { | |
| 'linux_use_gold_binary' : 0, | |
| 'linux_use_gold_flags' : 0, | |
| 'target_arch': 'arm', | |
| 'disable_nacl': 1, # NaCL does not build for ARM. |
| /* | |
| * node-ws - pure Javascript WebSockets server | |
| * Copyright Bradley Wright <[email protected]> | |
| */ | |
| // Use strict compilation rules - we're not animals | |
| 'use strict'; | |
| var net = require('net'), | |
| crypto = require('crypto'); |