MCPcopy Create free account
hub / github.com/easeway/js-plugins / instance

Function instance

lib/Plugins.js:259–263  ·  view source on GitHub ↗

@property {Plugins} instance The global instance

()

Source from the content-addressed store, hash-verified

257 statics: {
258 /** @property {Plugins} instance The global instance */
259 get instance() {
260 var inst = global['js-plugins:Plugins'];
261 inst || (inst = global['js-plugins:Plugins'] = new Plugins());
262 return inst;
263 },
264
265 register: function () {
266 var inst = Plugins.instance;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected