We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dddb39a commit a805fc7Copy full SHA for a805fc7
doc/upgrading.rst
@@ -85,18 +85,17 @@ best serves your needs.
85
Store plugin
86
~~~~~~~~~~~~
87
88
-In Annotator 1.2 configuring storage looked something like the following::
89
-
90
- new Annotator(elem)
91
- .addPlugin('Store', {
92
- prefix: 'http://example.com/api',
93
- loadFromSearch: {
94
- uri: window.location.href,
95
- },
96
- annotationData: {
97
98
- }
99
- });
+In Annotator 1.2, configuring storage looked like this::
+
+ annotator.addPlugin('Store', {
+ prefix: 'http://example.com/api',
+ loadFromSearch: {
+ uri: window.location.href,
+ },
+ annotationData: {
+ }
+ });
100
101
This code is doing three distinct things:
102
0 commit comments