Inspect element. Click it. The selected element is now $0 in the javascript console
$0.viewModel
$0.viewModel.enabled
$0.viewModel.enabled.binding
$0.viewModel.enabled.value
var gulp = require('gulp'), | |
compress = require('gulp-uglify'), | |
stylus = require('gulp-stylus'), | |
concat = require('gulp-concat'), | |
browserify = require('gulp-browserify'), | |
livereload = require('gulp-livereload'); | |
var liveReloadServer = livereload(); | |
gulp.task('styles', function() { |
### Keybase proof | |
I hereby claim: | |
* I am garrows on github. | |
* I am garrows (https://keybase.io/garrows) on keybase. | |
* I have a public key whose fingerprint is 0A4E 7772 7EB5 DBA9 B1F7 1DE8 5565 4B63 238A B2F9 | |
To claim this, I am signing this object: |
var five = require("johnny-five"); | |
board = new five.Board({ | |
// port: "/dev/rfcomm1" | |
port: "/dev/tty.NodeBot-DevB" | |
}); | |
board.on("ready", function() { | |
(new five.Led(13)).strobe(500); |
<html> | |
<head> | |
<title>Slider Test</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui"> | |
<style> | |
body { | |
margin: 0px; | |
padding: 0px; | |
} |
// In the express generated example, this is /routes/index.js | |
var express = require('express'); | |
var router = express.Router(); | |
var TheService = function() {}; | |
TheService.prototype = { | |
getTitle: function(req, res, next) { | |
console.log('getTitle'); | |
res.title = 'Express'; |
.panes::after { | |
content: ""; | |
position: fixed; | |
top: 0; | |
right: 0; | |
left: 0; | |
bottom: 0; | |
pointer-events: none; | |
background: url("http://thecatapi.com/api/images/get?format=src&type=jpg,png"); | |
background-size: cover; |
MyObject.prototype.on = function (eventName, callback) { | |
if (this.eventListeners[eventName] == undefined) { | |
this.eventListeners[eventName] = []; | |
} | |
if (typeof callback == "function") { | |
this.eventListeners[eventName].push(callback); | |
} else { | |
throw "can not subscribe with a non function callback"; | |
} | |
} |
{ | |
"indent_size": 4, | |
"indent_char": " ", | |
"indent_level": 0, | |
"indent_with_tabs": true, | |
"preserve_newlines": true, | |
"max_preserve_newlines": 10, | |
"jslint_happy": true, | |
"brace_style": "collapse", | |
"keep_array_indentation": false, |
Community Packages (15) /Users/glen/.atom/packages | |
├── api-blueprint-preview@0.7.0 | |
├── atom-beautify@0.29.22 | |
├── busy-signal@1.3.0 | |
├── editorconfig@2.2.2 | |
├── git-diff-details@1.4.0 | |
├── git-plus@7.5.0 | |
├── intentions@1.1.2 | |
├── language-api-blueprint@1.0.2 | |
├── lcov-info@0.12.0 |