Skip to content

Instantly share code, notes, and snippets.

@Raynos
Created December 11, 2011 16:28
Show Gist options
  • Select an option

  • Save Raynos/1461397 to your computer and use it in GitHub Desktop.

Select an option

Save Raynos/1461397 to your computer and use it in GitHub Desktop.
Cindela UI drafting, brainstorming
var EventPublisher = require('Cin.event.EventPublisher');
Base = require('Cin.ui.Base'),
extend = Object.extend;
let Button = Base <| extend(EventPublisher, {
enable() {
// ...
this.emit('enabled');
}
};
exports = Button;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment