om/public/routes/initGlobals.js

33 lines
534 B
JavaScript
Raw Normal View History

// Global Variables
// User
var auth = {},
majorList = [],
// Message
_messagelist = [],
_messages = {},
// Tag
2019-07-22 18:40:51 +02:00
_taglist = ["efi","wichtig"],
_tags = [],
tagArray = [],
// Search
2019-07-22 18:40:51 +02:00
_isSearchActiv = false,
2019-07-23 17:34:57 +02:00
_isSubscripeButtonActiv = true,
data = [],
2019-07-23 17:22:01 +02:00
search_data = [],
2019-07-22 18:40:51 +02:00
2019-07-23 17:22:01 +02:00
// Vue Rerender Key
vueRender = { key:0 };
2019-07-22 18:40:51 +02:00
2019-07-23 17:22:01 +02:00
const authorRole = 'author';
// Global Functions
function vueForceRender() {
if (vueRender.key >= 10) {
vueRender.key = 0;
}
vueRender.key++;
}