Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More work on viewing tags in the annotator.
Also created started transferring objects into closures (rather than declaring controllers in the global namespace) Closes #79 modified: app/assets/javascripts/angular/controllers/annotation_viewer.js -- refactored out Annotation model, and wrapped class in proper angular module configuration modified: app/assets/javascripts/angular/controllers/listen.js -- added formatting and parsing options for select2 dropdown in annotation editor modified: app/assets/javascripts/angular/directives/directives.js -- wrote the baw inject transformer (for generalised injection of parsers and formatters to ngModel bindings) new file: app/assets/javascripts/angular/models/annotation.js new file: app/assets/javascripts/angular/models/audio_event_tag.js -- broke models out into their own folders and files for better code structure modified: app/assets/javascripts/angular/services/services.js -- renamed module to be more consistent with naming elsewhere modified: app/assets/javascripts/app.js -- changed controller references in routes to strings because controllers should no longer be declared in global namespaces new file: app/assets/javascripts/angular/controllers/controller_module.js modified: app/assets/javascripts/application.js -- since controllers are declared inside a module, and they are multifile, they need a module creation declaration that happens before all the others (else they overwrite each other) modified: app/assets/templates/listen.html modified: lib/assets/javascripts/functions.js -- changed the way objects are exported to global scope modified: vendor/assets/javascripts/angular-ui-ieshiv.js modified: vendor/assets/javascripts/angular-ui.js -- updated angular-ui to version 0.4.0 -- WARNING MAJOR HACK. edited VENDOR FILE TO GET SOLUTION TO WORK. WILL SEND PATCH / SUBMODULE A FORK LATER
- Loading branch information