MCPcopy Create free account
hub / github.com/TruthHun/BookStack / check

Function check

static/word2md/mammoth.browser.js:6778–6785  ·  view source on GitHub ↗
(self, executor)

Source from the content-addressed store, hash-verified

6776var errorObj = util.errorObj;
6777var tryCatch = util.tryCatch;
6778function check(self, executor) {
6779 if (typeof executor !== "function") {
6780 throw new TypeError("expecting a function but got " + util.classString(executor));
6781 }
6782 if (self.constructor !== Promise) {
6783 throw new TypeError("the promise constructor cannot be invoked directly\u000a\u000a See http://goo.gl/MqrFmX\u000a");
6784 }
6785}
6786
6787function Promise(executor) {
6788 this._bitField = 0;

Callers 4

PromiseFunction · 0.70
codemirror.min.jsFile · 0.50
codemirror.jsFile · 0.50
codemirror.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected