billboard.js
Version:
Re-usable easy interface JavaScript chart library, based on D3 v4+
20 lines (16 loc) • 482 B
text/typescript
/**
* Copyright (c) 2017 ~ present NAVER Corp.
* billboard.js project is licensed under the MIT license
*/
/**
* Window object
* @private
*/
/* eslint-disable no-new-func, no-undef */
export {win as window, doc as document};
const win = (() => {
const def = o => typeof o !== "undefined" && o;
return def(self) || def(window) || def(global) || def(globalThis) || Function("return this")();
})();
/* eslint-enable no-new-func, no-undef */
const doc = win && win.document;