How to use ultron - 6 common examples

To help you get started, we’ve selected a few ultron examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github godaddy / ekke / native / screen.js View on Github external
constructor(rootTag) {
    this.events = new Ultron(events);   // Created a managed EventEmitter.
    this.previous = this.discover();    // Name of the current mounted app.
    this.rootTag = rootTag;             // Reference to the rootTag

    //
    // Create our renderer reference so we
    //
    this.Renderer = createRenderer(this.manager.bind(this));
  }
github t2t2 / obs-tablet-remote / src / javascripts / mixins / obs-user.js View on Github external
created() {
		Object.defineProperty(this, '$obs', {
			get: () => {
				return this.$root.$refs.app.$obs
			}
		})

		this._obs = new Ultron(this.$obs)
	},
github welovekpop / munar / packages / munar-plugin-config / src / index.js View on Github external
onPluginLoad = (instance, name) => {
    const onChange = () => this.onChange(name, instance)

    this.events.push(
      new Ultron(instance)
        .on('option', onChange)
        .on('enable', onChange)
        .on('disable', onChange)
    )
    debug('attached load handlers', name)
  }
github welovekpop / munar / packages / munar-plugin-media-blacklist / src / index.js View on Github external
enable () {
    this.events = new Ultron(this.bot)
    this.events.on('djBooth:advance', this.onAdvance)
  }
github welovekpop / munar / packages / munar-plugin-config / src / index.js View on Github external
enable () {
    const events = new Ultron(this.bot.plugins)
    events.on('discovered', this.onPluginDiscovered)
    events.on('load', this.onPluginLoad)

    this.events.push(events)
  }
github welovekpop / munar / packages / munar-adapter-plugdj / src / index.js View on Github external
constructor (bot, options) {
    super(bot)

    this.options = options
    this.events = new Ultron(this.mp)

    this.waitlist = new Waitlist(this)
    this.djBooth = new DJBooth(this)
    this.djHistory = new DJHistory(this)
  }

ultron

Ultron is high-intelligence robot. It gathers intel so it can start improving upon his rudimentary design

MIT
Latest version published 7 years ago

Package Health Score

71 / 100
Full package analysis

Popular ultron functions