Commit 8821246e authored by csillag's avatar csillag

Cosmetic Annotator changes

parent 73a62423
...@@ -125,7 +125,7 @@ class Annotator extends Delegator ...@@ -125,7 +125,7 @@ class Annotator extends Delegator
@documentAccessStrategies = [ @documentAccessStrategies = [
# Default dummy strategy for simple HTML documents. # Default dummy strategy for simple HTML documents.
# The generic fallback. # The generic fallback.
name: "DOM generic" name: "Dummy"
mapper: DummyDocumentAccess mapper: DummyDocumentAccess
] ]
......
...@@ -5,6 +5,6 @@ class Annotator.Plugin.DomTextMapper extends Annotator.Plugin ...@@ -5,6 +5,6 @@ class Annotator.Plugin.DomTextMapper extends Annotator.Plugin
@annotator.documentAccessStrategies.unshift @annotator.documentAccessStrategies.unshift
# Document access strategy for simple HTML documents, # Document access strategy for simple HTML documents,
# with enhanced text extraction and mapping features. # with enhanced text extraction and mapping features.
name: "DOM generic" name: "DOM-Text-Mapper"
mapper: window.DomTextMapper mapper: window.DomTextMapper
init: => @annotator.domMapper.setRootNode @annotator.wrapper[0] init: => @annotator.domMapper.setRootNode @annotator.wrapper[0]
// Generated by CoffeeScript 1.6.3 // Generated by CoffeeScript 1.6.3
/* /*
** Annotator 1.2.6-dev-fa01c96 ** Annotator 1.2.6-dev-4f0961d
** https://github.com/okfn/annotator/ ** https://github.com/okfn/annotator/
** **
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning. ** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses. ** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE ** https://github.com/okfn/annotator/blob/master/LICENSE
** **
** Built at: 2013-11-21 17:23:55Z ** Built at: 2013-11-26 14:54:29Z
*/ */
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
DomTextMapper.prototype.pluginInit = function() { DomTextMapper.prototype.pluginInit = function() {
var _this = this; var _this = this;
return this.annotator.documentAccessStrategies.unshift({ return this.annotator.documentAccessStrategies.unshift({
name: "DOM generic", name: "DOM-Text-Mapper",
mapper: window.DomTextMapper, mapper: window.DomTextMapper,
init: function() { init: function() {
return _this.annotator.domMapper.setRootNode(_this.annotator.wrapper[0]); return _this.annotator.domMapper.setRootNode(_this.annotator.wrapper[0]);
......
{"version":3,"file":"annotator.domtextmapper.js","sources":["_preamble.coffee","_annotator_mapsrc/src/plugin/domtextmapper.coffee"],"names":[],"mappings":";AAAA;;;;;;;;;;CAAA;CAAA;;;;;;;ACCA;CAAA,GAAA,EAAA;KAAA;oSAAA;;CAAA,CAAM,IAAgB,GAAP;CAEb;;;;;CAAA;;CAAA,EAAY,MAAA,CAAZ;CACE,SAAA,EAAA;CAAC,GAAA,GAAD,EAAU,IAAV,WAAmC;CAGjC,CAAM,EAAN,IAAA,KAAA;CAAA,CACQ,IAAR,EAAA,KADA;CAAA,CAEM,CAAA,CAAN,IAAA,CAAM;CAAI,IAAA,EAAmD,EAA1C,EAAV,MAAA;CAFT,QAEM;CANE,OACV;CADF,IAAY;;CAAZ;;CAF2C,QAAS;CAAtD"} {"version":3,"file":"annotator.domtextmapper.js","sources":["_preamble.coffee","_annotator_mapsrc/src/plugin/domtextmapper.coffee"],"names":[],"mappings":";AAAA;;;;;;;;;;CAAA;CAAA;;;;;;;ACCA;CAAA,GAAA,EAAA;KAAA;oSAAA;;CAAA,CAAM,IAAgB,GAAP;CAEb;;;;;CAAA;;CAAA,EAAY,MAAA,CAAZ;CACE,SAAA,EAAA;CAAC,GAAA,GAAD,EAAU,IAAV,WAAmC;CAGjC,CAAM,EAAN,IAAA,SAAA;CAAA,CACQ,IAAR,EAAA,KADA;CAAA,CAEM,CAAA,CAAN,IAAA,CAAM;CAAI,IAAA,EAAmD,EAA1C,EAAV,MAAA;CAFT,QAEM;CANE,OACV;CADF,IAAY;;CAAZ;;CAF2C,QAAS;CAAtD"}
\ No newline at end of file \ No newline at end of file
// Generated by CoffeeScript 1.6.3 // Generated by CoffeeScript 1.6.3
/* /*
** Annotator 1.2.6-dev-989382f ** Annotator 1.2.6-dev-4f0961d
** https://github.com/okfn/annotator/ ** https://github.com/okfn/annotator/
** **
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning. ** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses. ** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE ** https://github.com/okfn/annotator/blob/master/LICENSE
** **
** Built at: 2013-11-26 14:05:21Z ** Built at: 2013-11-26 14:54:04Z
*/ */
...@@ -1083,7 +1083,7 @@ ...@@ -1083,7 +1083,7 @@
Annotator.prototype._setupDocumentAccessStrategies = function() { Annotator.prototype._setupDocumentAccessStrategies = function() {
this.documentAccessStrategies = [ this.documentAccessStrategies = [
{ {
name: "DOM generic", name: "Dummy",
mapper: DummyDocumentAccess mapper: DummyDocumentAccess
} }
]; ];
......
This diff is collapsed.
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