diff --git a/dist/examples/annotation-editor/index.html b/dist/examples/annotation-editor/index.html index 7f891fcb..88d09d9a 100644 --- a/dist/examples/annotation-editor/index.html +++ b/dist/examples/annotation-editor/index.html @@ -106,13 +106,13 @@

OpenLIME - Annotation Editor

// Define annotation parameters let annotationServer = 'http://localhost:3000/ol'; const classParam = { - '': { style: { stroke: '#000' }, label: '' }, - 'class1': { style: { stroke: '#770' }, label: 'A' }, - 'class2': { style: { stroke: '#707' }, label: 'B' }, - 'class3': { style: { stroke: '#777' }, label: 'C' }, - 'class4': { style: { stroke: '#070' }, label: 'D' }, - 'class5': { style: { stroke: '#007' }, label: 'E' }, - 'class6': { style: { stroke: '#077' }, label: 'F' }, + '': { stroke: '#000', label: '' }, + 'class1': { stroke: '#770', label: 'A' }, + 'class2': { stroke: '#707', label: 'B' }, + 'class3': { stroke: '#777', label: 'C' }, + 'class4': { stroke: '#070', label: 'D' }, + 'class5': { stroke: '#007', label: 'E' }, + 'class6': { stroke: '#077', label: 'F' }, }; let aOptions = { diff --git a/dist/examples/express-jsondb/anno.json b/dist/examples/express-jsondb/anno.json index c610b050..c2c50b8f 100644 --- a/dist/examples/express-jsondb/anno.json +++ b/dist/examples/express-jsondb/anno.json @@ -1,28 +1 @@ -[ - { - "label": "test-rechanged", - "description": "This is a test, Fabio!", - "svg": "", - "class": "TEST", - "publish": 1, - "id": "1" - }, - { - "id": "2", - "label": "test", - "description": "This is a test!", - "svg": "", - "class": "TEST", - "publish": 1 - }, - { - "id": "a007c328-ca8e-4776-b692-298a2ad918aa", - "idx": 3, - "label": "", - "description": "", - "class": "", - "svg": null, - "publish": 1, - "data": {} - } -] \ No newline at end of file +[{"label":"test-rechanged","description":"This is a test, Fabio!","svg":"","class":"TEST","publish":1,"id":"1"},{"id":"2","label":"test","description":"This is a test!","svg":"","class":"TEST","publish":1},{"id":"a007c328-ca8e-4776-b692-298a2ad918aa","idx":3,"label":"","description":"","class":"","svg":null,"publish":1,"data":{}},{"id":"a90815a3-aa9f-478c-8d5f-dde7584be133","idx":"4","label":"PROVA","description":"12345","class":"class2","publish":1,"data":{},"svg":"\n\t\t\t\t \n\t\t\t\t"}] \ No newline at end of file