Commit 920be1a3 authored by Robert Knight's avatar Robert Knight

Fix indentation after applying var => const/let transform

parent 61b2d4c7
......@@ -98,8 +98,8 @@ function RootThread($rootScope, store, drafts, searchFilter, viewFilter) {
// Note: These events could all be converted into actions that are handled by
// the Redux store in store.
const loadEvents = [events.ANNOTATION_CREATED,
events.ANNOTATION_UPDATED,
events.ANNOTATIONS_LOADED];
events.ANNOTATION_UPDATED,
events.ANNOTATIONS_LOADED];
loadEvents.forEach(function (event) {
$rootScope.$on(event, function (event, annotation) {
store.addAnnotations([].concat(annotation));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment