Sha256: 0e6170a85045556f66b854573f0616ad747cc75e693d6b5deba46ace59459ea6
Contents?: true
Size: 449 Bytes
Versions: 16
Compression:
Stored size: 449 Bytes
Contents
'use strict'; function KeyBinding(_name, _bindKey) { this.name = _name; this.bindKey = _bindKey; } KeyBinding.prototype.withKeyFn = function(_keyFn) { return { name: this.name, bindKey: this.bindKey, keyFn: _keyFn, aceKeyCmd: { name: this.name, bindKey: this.bindKey, exec: _keyFn }, hotKey: { combo: _.toArray(this.bindKey), description: this.name, callback: _keyFn } }; };
Version data entries
16 entries across 16 versions & 1 rubygems