I hereby claim:
- I am sebmaster on github.
- I am sebmaster (https://keybase.io/sebmaster) on keybase.
- I have a public key whose fingerprint is 493C C4FB CE67 6003 1CF2 993C 0F90 E025 C735 E038
To claim this, I am signing this object:
const hooks = async_hooks.create() | |
setTimeout(() => { // some async task | |
setImmediate(() => { // another one | |
throw new Error(); // woops! | |
}) | |
}, 1000) | |
/* | |
With hooks: |
"use strict"; | |
const conversions = require("webidl-conversions"); | |
const Impl = require("../implementation/EventTarget.js"); | |
const initialized = require("./utils.js").initialized; | |
class EventTarget { | |
constructor() { | |
if (arguments[0] !== module.exports.secret && !this[initialized]) { |
# FORMAT NOT DOCUMENTED YET (parser is urltestparser.js) | |
# Based on http://trac.webkit.org/browser/trunk/LayoutTests/fast/url/script-tests/segments.js | |
http://example\t.\norg http://example.org/foo/bar s:http h:example.org p:/ | |
http://user:pass@foo:21/bar;par?b#c s:http u:user pass:pass h:foo port:21 p:/bar;par q:?b f:#c | |
http:foo.com s:http h:example.org p:/foo/foo.com | |
\t\s\s\s:foo.com\s\s\s\n s:http h:example.org p:/foo/:foo.com | |
\sfoo.com\s\s s:http h:example.org p:/foo/foo.com | |
a:\t\sfoo.com s:a p:\sfoo.com | |
http://f:21/\sb\s?\sd\s#\se\s s:http h:f port:21 p:/%20b%20 q:?%20d%20 f:#\se |
%00.com | |
%00.com | |
exec 7 %00.com %00.com 7 %00.com | |
exec3 |
"use strict"; | |
const URL = require("../lib/url").URL; | |
console.log( | |
new URL("/", "file:///C:/Users/Domenic/Dropbox/Programming/GitHub/jsdom/test/jsdom/index.js").href | |
); // file:///C:/ |
> new URL("http://a.com", "about:blank").parsedURL | |
{ scheme: 'http', | |
scheme_data: '', | |
username: '', | |
password: null, | |
host: 'a.com', | |
port: '', | |
path: [ '' ], | |
query: null, | |
fragment: null, |
var WeakMap = require("weak-map"); | |
var utils = require("./utils"); | |
var Node = require("./Node"); | |
var instances = new WeakMap(); | |
function Document() { | |
throw new TypeError("Illegal constructor"); | |
} | |
utils.inherits(Document, Node.Node); |
I hereby claim:
To claim this, I am signing this object:
[CmdletBinding()] | |
Param( | |
[Parameter(Mandatory=$True)] | |
[string]$SrcStorageAccount, | |
[Parameter(Mandatory=$True)] | |
[string]$SrcStorageKey, | |
[Parameter(Mandatory=$True)] | |
[string]$SrcContainer, |
angular.module('MyApp', ['racer.js']). | |
config(['$routeProvider', '$locationProvider', function ($routeProvider, $locationProvider) { | |
//$locationProvider.html5Mode(true); | |
$routeProvider. | |
when('/', { templateUrl: 'partials/home.htm', controller: IndexCtrl, resolve: IndexCtrl.resolve }) | |
otherwise({redirectTo: '/'}); | |
}]); | |
function Ctrl($scope, model) { |