We need an Open Source alternative to AMP.
We need an Open Source alternative to AMP.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```js | |
console.log('will not currently highlight in deck') | |
``` | |
```javascript | |
console.log('will not highlight in deck') | |
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//fails: | |
var c = 0 | |
seneca.add({role: 'user', cmd: 'create'}, function(args, callback) { | |
if (c++ < 1) callback(null) | |
else { | |
var err = {}; | |
err.statusCode = 409; | |
callback(err); | |
} | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "npm-dependents", | |
"version": "1.0.1", | |
"dependencies": { | |
"JSONStream": { | |
"version": "0.10.0", | |
"from": "JSONStream@*", | |
"resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-0.10.0.tgz", | |
"dependencies": { | |
"jsonparse": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that +clements is my Bitcoin username. You can send me #bitcoin here: https://onename.io/clements |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//usage: | |
cmds({ | |
$: {general: 'pattern'}, | |
a: {specificying:'pattern'} | |
}) | |
.$a(function (err, args) { | |
console.log(args, Object.keys(args)) | |
}) | |
//after 1.5 secs logs Object {specificying: "pattern", general: "pattern"} ["specificying", "general"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//usage: | |
cmds({ | |
__proto__: {general: 'pattern'}, | |
a: {specificying:'pattern'} | |
}) | |
.$a(function (err, args) { | |
console.log(args, Object.keys(args)) | |
}) | |
//after 1.5 secs logs Object {specificying: "pattern", general: "pattern"} ["specificying"] |
NewerOlder