Vulcan/packages/telescope-lib/lib/config.js

21 lines
424 B
JavaScript
Raw Normal View History

/**
2015-05-10 13:37:42 +09:00
* Telescope configuration namespace
* @namespace Telescope.config
*/
Telescope.config = {};
2015-05-10 13:37:42 +09:00
/**
* Subscriptions namespace
* @namespace Telescope.subscriptions
*/
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);
};