mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
* moved duplicate utility/dom-functions from global.js to basic.js
- consequentially prepended $WH to those functions (since i do have issues with regEx, some errors may occur) * simplified including required JS and CSS files per page * replaced old Menu-class with (almost) current version. Since it relies heavily on jQuery it is also loaded.
This commit is contained in:
@@ -63,12 +63,12 @@ if (typeof $WowheadPower == "undefined") {
|
||||
achievementcomplete: "Achievement earned by $1 on $2/$3/$4"
|
||||
},
|
||||
LOOKUPS = {
|
||||
1 : [npcs, "npc", "NPC"],
|
||||
2 : [objects, "object", "Object"],
|
||||
3 : [items, "item", "Item"],
|
||||
5 : [quests, "quest", "Quest"],
|
||||
6 : [spells, "spell", "Spell"],
|
||||
10 : [achievements, "achievement", "Achievement"],
|
||||
1 : [npcs, "npc", "NPC"],
|
||||
2 : [objects, "object", "Object"],
|
||||
3 : [items, "item", "Item"],
|
||||
5 : [quests, "quest", "Quest"],
|
||||
6 : [spells, "spell", "Spell"],
|
||||
10 : [achievements, "achievement", "Achievement"],
|
||||
100 : [profiles, "profile", "Profile"]
|
||||
},
|
||||
LOCALES = {
|
||||
@@ -76,8 +76,7 @@ if (typeof $WowheadPower == "undefined") {
|
||||
2 : "frfr",
|
||||
3 : "dede",
|
||||
6 : "eses",
|
||||
8 : "ruru",
|
||||
25 : "ptr"
|
||||
8 : "ruru"
|
||||
},
|
||||
REDIRECTS = {
|
||||
wotlk: "www",
|
||||
@@ -455,7 +454,7 @@ if (typeof $WowheadPower == "undefined") {
|
||||
|
||||
// custom start
|
||||
if ($WH.gc('compare_level') && window.location.href.match(/\?compare/i)) {
|
||||
html = $WH.g_setTooltipItemLevel(html, gc('compare_level'));
|
||||
html = $WH.g_setTooltipItemLevel(html, $WH.gc('compare_level'));
|
||||
}
|
||||
// custom end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user