mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00
21 lines
406 B
JavaScript
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);
|
|
};
|
|
|