Skip to content

Commit a805fc7

Browse files
committed
Punctuation, indentation, and fat trimming
1 parent dddb39a commit a805fc7

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

doc/upgrading.rst

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -85,18 +85,17 @@ best serves your needs.
8585
Store plugin
8686
~~~~~~~~~~~~
8787

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-
uri: window.location.href,
98-
}
99-
});
88+
In Annotator 1.2, configuring storage looked like this::
89+
90+
annotator.addPlugin('Store', {
91+
prefix: 'http://example.com/api',
92+
loadFromSearch: {
93+
uri: window.location.href,
94+
},
95+
annotationData: {
96+
uri: window.location.href,
97+
}
98+
});
10099

101100
This code is doing three distinct things:
102101

0 commit comments

Comments
 (0)