UNPKG

ryuu

Version:

Domo App Dev Studio CLI, The main tool used to create, edit, and publish app designs to Domo

18 lines (16 loc) 315 B
function AutoComplete(callback) { try { if (!callback) { throw 'Error: "callback" is a required parameter'; } this.constructor(callback); } catch (e) { console.error(e); } } AutoComplete.prototype = { callback: undefined, constructor(callback) { this.callback = callback; } }