This file contains 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
function loadFile(filename) { | |
let script = ... create script with file | |
let promise = new Promise() | |
script.onload = function () { | |
promise.resolve() | |
} | |
return promise |
This file contains 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
generics.Vehicle = (function () { | |
class Entity {} | |
class Vehicle { | |
constructor() { | |
super(); | |
this.entity = Entity | |
} | |
} | |
This file contains 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
// require the media capture helper from rtc.io | |
var media = require('rtc-media'); | |
// capture video and render it to the document body | |
media().render(document.body); |
This file contains 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
AssertionError: agent1 rejected, but should NOT have been | |
at ChildProcess.<anonymous> (/Users/brandon/hashrocket/node/test/simple/test-tls-server-verify.js:217:14) | |
at ChildProcess.EventEmitter.emit (events.js:103:17) | |
at Process.ChildProcess._handle.onexit (child_process.js:794:12) | |
Command: out/Release/node /Users/brandon/hashrocket/node/test/simple/test-tls-server-verify.js |