Note:
- that there are nine lines, not eight.
"8"
is the expected value
What am I missing?
h2.Code
var fs = require('fs');
Note:
"8"
is the expected valueWhat am I missing?
h2.Code
var fs = require('fs');
// riff off https://gist.github.com/naomik/7178262 | |
var through = require('through'); | |
var doubler = function doubler(data){ | |
data = data.toString(); | |
this.queue(data + data); | |
}; | |
var uppercaser = function uppercaser(data){ | |
this.queue(data.toString().toUpperCase()); |
I hereby claim:
To claim this, I am signing this object:
////////app.js | |
define([ 'mithril', 'propertyPane'], | |
function(m, propertyPane){ | |
//div#properties exists | |
m.module(document.getElementById('properties'),propertyPane); | |
}); | |
///////propertyPane.js |
<?php | |
// autoload_psr4.php @generated by Composer | |
$vendorDir = dirname(dirname(__FILE__)); | |
$baseDir = dirname($vendorDir); | |
return array( | |
/*...*/ | |
'Behat\\Mink\\Driver\\' => array($vendorDir . '/behat/mink-browserkit-driver/src', $vendorDir . '/behat/mink-goutte-driver/src', $vendorDir . '/behat/mink-selenium2-driver/src'), |
<?php | |
require_once 'vendor/autoload.php'; | |
class Tester { | |
use MyNamespace\Traits\AmazonTraits; | |
} |
#!/usr/bin/env bash | |
composer $* | |
if [[ $? -eq 0 ]]; then | |
osascript -e 'display notification "composer exited 0 ✨" with title "🔵 Success"' | |
else | |
osascript -e 'display notification "composer exited >0" with title "🔴 Failed"' | |
fi | |
exit $?; |
"scripts": { | |
"pre-install-cmd": "[[ -a .env ]] || >&2 echo '.env missing. please create .env' && exit 1;" | |
}, |
function setupJobs() { | |
//group nodes into object w/breakpoint as keys | |
var nodesByBreakpoint = _(vm.claims).chain() | |
.reduce(function (nodes, claim) { | |
return nodes.concat(claim.related_nodes); | |
}, []) | |
.groupBy(function (node) { | |
return node.breakpoint; | |
}) | |
.value(); |
hello werld
Enclosure diagrams use containment to represent the hierarchy. Although circle packing is not as space-efficient as a treemap, it better reveals the hierarchy. Implementation based on work by Jeff Heer. Data shows the Flare class hierarchy, also courtesy Jeff Heer.
See also this zoomable version.