1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-05-30 14:34:08 +02:00
TweetDuck/Resources/Content/features/register_global_functions.js

21 lines
1.0 KiB
JavaScript

import { registerPropertyUpdateCallback, triggerPropertiesUpdated } from "../api/bridge.js";
import { applyROT13 } from "../globals/apply_rot13.js";
import { getColumnName } from "../globals/get_column_name.js";
import { injectMustache } from "../globals/inject_mustache.js";
import { prioritizeNewestEvent } from "../globals/prioritize_newest_event.js";
import { reloadBrowser } from "../globals/reload_browser.js";
import { reloadColumns } from "../globals/reload_columns.js";
import { showTweetDetail } from "../globals/show_tweet_detail.js";
export default function() {
window.TDGF_applyROT13 = applyROT13;
window.TDGF_getColumnName = getColumnName;
window.TDGF_injectMustache = injectMustache;
window.TDGF_onPropertiesUpdated = triggerPropertiesUpdated;
window.TDGF_prioritizeNewestEvent = prioritizeNewestEvent;
window.TDGF_registerPropertyUpdateCallback = registerPropertyUpdateCallback;
window.TDGF_reload = reloadBrowser;
window.TDGF_reloadColumns = reloadColumns;
window.TDGF_showTweetDetail = showTweetDetail;
};