Commit c73a10f1 authored by Randall Leeds's avatar Randall Leeds

comments

parent d1fef72b
...@@ -60,7 +60,7 @@ class Annotator.Plugin.Bridge extends Annotator.Plugin ...@@ -60,7 +60,7 @@ class Annotator.Plugin.Bridge extends Annotator.Plugin
@cache[tag] = msg @cache[tag] = msg
msg msg
# Call the configured parser and tag the result # Parse an annotation from a RPC with the configured parser
_parse: ({tag, msg}) -> _parse: ({tag, msg}) ->
local = @cache[tag] local = @cache[tag]
remote = @options.parser msg remote = @options.parser msg
...@@ -72,7 +72,7 @@ class Annotator.Plugin.Bridge extends Annotator.Plugin ...@@ -72,7 +72,7 @@ class Annotator.Plugin.Bridge extends Annotator.Plugin
this._tag merged, tag this._tag merged, tag
# Tag the object and format it with the configured formatter # Format an annotation for RPC with the configured formatter
_format: (annotation) -> _format: (annotation) ->
this._tag annotation this._tag annotation
msg = @options.formatter annotation msg = @options.formatter annotation
......
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