As promised, here's the big refactoring. It's mostly focused on de-duplicating and extracting methods. Except where I've completely removed functionality (queryConsole, infoPanel, etc.), I've done my best to maintain backwards compatibility.
I haven't moved separate components into separate files yet; mostly because that would require a module system and a build process (and method/component boundaries have been fluid throughout this process). I intend to use CommonJS modules (node-style), and browserify to create dist/ bundles.
I've done some rebasing throughout the process, but can do much more to group related commits.
Please hold off on merging this until we have a chance to discuss these changes.
As promised, here's the big refactoring. It's mostly focused on de-duplicating and extracting methods. Except where I've completely removed functionality (queryConsole, infoPanel, etc.), I've done my best to maintain backwards compatibility.
I haven't moved separate components into separate files yet; mostly because that would require a module system and a build process (and method/component boundaries have been fluid throughout this process). I intend to use CommonJS modules (node-style), and browserify to create
dist/
bundles.I've done some rebasing throughout the process, but can do much more to group related commits.
Please hold off on merging this until we have a chance to discuss these changes.
Outstanding issues:
getProperty()
,getJsonValue()