Fixed: Issue #2: Was loading items twice (once as this.items, once as this.spells)
compendium-browser.js
- Add numToPreload (default 100, in Settings)
- loadItems(), loadNPCs() load "preload" number of spells, feats, items, NPCs each
- initialize(): Was setting this.spells and then setting this.items in getData()
- Move load back to "ready" hook, but limit number loaded
- Added CMPBrowser constants
- Fixed minor eslint problems
- getData(): Cleaned up data initialization
fixed alidgnment issues with multiSelect filters
fixed misplaced translation files
put the spell-class association list into its own file for easy translation/editing
added japanese translation. Thanks Brother Sharp for that one