Vulcan/packages/telescope-lib/lib/config.js
2015-04-24 10:49:24 +09:00

21 lines
406 B
JavaScript

/**
* Telescope config namespace
* @type {Object}
*/
Telescope.config = {};
/**
* Array containing subscriptions to be preloaded
* @type {Array}
*/
Telescope.subscriptions = [];
/**
* Add a subscription to be preloaded
* @param {string} subscription - The name of the subscription
*/
Telescope.subscriptions.preload = function (subscription) {
Telescope.subscriptions.push(subscription);
};