Wait for DOM ready to constructor the annotator
This change also means that the application actually starts after the `noConflict` calls have erased any trace of Annotator or jQuery from the global object. AnnotationSync was using $.extend. Since I don't want to depend on jQuery in the widget application indefinitely and I don't want to depend on Annotator either there is not a single place to get this function that works in both environments. Instead, a single purpose module from NPM for extend is pulled in. Small modules FTW.
Showing
... | ... | @@ -10,6 +10,7 @@ |
"coffee-script": "1.7.1", | ||
"coffeeify": "^1.0.0", | ||
"es6-promise": "^2.1.0", | ||
"extend": "^2.0.0", | ||
"hammerjs": "^2.0.4", | ||
"node-uuid": "^1.4.3", | ||
"uglify-js": "2.4.14" | ||
... | ... |
Please register or sign in to comment