Javascript:

- reviewed and used objects PageTemplate and Locale
- removed associated workarounds
- replaced ~12k tabs with ~48k spaces
- fixed some localization errors
- whoops, forgot to update some Util::$pageTemplate calls to $this
This commit is contained in:
Sarjuuk
2014-07-24 17:43:57 +02:00
parent fc589c5ebe
commit 6acee41e3d
89 changed files with 6564 additions and 6193 deletions

View File

@@ -11,7 +11,7 @@ function tc_init() {
_,
clear;
g_initPath([1, 0]);
// PageTemplate.set({ breadcrumb: [1, 0] });
$WH.ge('tc-classes').className = 'choose';
@@ -88,7 +88,7 @@ function tc_onChange(tc, info, data) {
_ = tc_classIcons[tc_classId];
_.className += ' iconmedium-gold-selected';
g_initPath([1, 0, tc_classId]);
PageTemplate.set({ breadcrumb: [1, 0, tc_classId] });
}
tc_build = tc.getWhBuild();