2015-04-22 07:50:11 +09:00
|
|
|
/**
|
2015-05-10 13:37:42 +09:00
|
|
|
* Telescope configuration namespace
|
|
|
|
* @namespace Telescope.config
|
2015-04-22 07:50:11 +09:00
|
|
|
*/
|
|
|
|
Telescope.config = {};
|
|
|
|
|
2015-06-17 09:15:26 +09:00
|
|
|
Telescope.config.customPrefix = "custom_";
|
|
|
|
|
2015-05-10 13:37:42 +09:00
|
|
|
/**
|
|
|
|
* Subscriptions namespace
|
|
|
|
* @namespace Telescope.subscriptions
|
2015-04-22 07:50:11 +09:00
|
|
|
*/
|
2015-04-24 10:28:11 +09:00
|
|
|
Telescope.subscriptions = [];
|
2015-04-22 07:50:11 +09:00
|
|
|
|
2015-04-24 10:28:11 +09:00
|
|
|
/**
|
|
|
|
* Add a subscription to be preloaded
|
|
|
|
* @param {string} subscription - The name of the subscription
|
|
|
|
*/
|
|
|
|
Telescope.subscriptions.preload = function (subscription) {
|
|
|
|
Telescope.subscriptions.push(subscription);
|
|
|
|
};
|
2015-04-22 07:50:11 +09:00
|
|
|
|