How to use eventemitter3.default:
GitHub: formio/core
2220 2221 2222 2223 2224 2225 2226 2227 2228 2229
*/ Formio.namespace = ''; /** * Handles events fired within this SDK library. */ Formio.events = new eventemitter3_1.default(); /** * Stores all of the libraries lazy loaded with ```Formio.requireLibrary``` method. */ Formio.libraries = {};
How to use eventemitter3.call:
GitHub: photonstorm/phaser
58 59 60 61 62 63 64 65 66 67
initialize: function World (scene, config) { EventEmitter.call(this); /** * The Scene this simulation belongs to. *