[annotator-dev] How to build annotations files in coffee (not in js) ?

Randall Leeds tilgovi at hypothes.is
Thu Mar 27 17:32:38 UTC 2014

There is no single annotator.coffee output. The coffee is split across
several files.

At this point, the master branch is built using browserify. One nice effect
is that we don't have to worry about the order in which we concatenate the
scripts. They are wrapped in a module API before being concatenated.

However, I don't think there's an easy way to get that without converting
to js.

The js output has inline source maps, though, so it should be possible to
debug the coffee.

If you have a reason for wanting the .coffee, please let us know. Maybe
you're finding you need to make changes to it? In that case, please tell us
so we can provide the hooks you need, otherwise you will end up with an out
of date fork.

On Thu, Mar 27, 2014 at 7:48 AM, rusik <rusik3 at gmail.com> wrote:

> I want to run ./tools/serve and have result files in coffescript, how to
> do this( src is in coffescript, but i want result files in coffescript)
> so i used annotar.js compiled , and plugin files in coffee , and it seems
> working in my rails project
> but annotator.coffee will be better...
> _______________________________________________
> annotator-dev mailing list
> annotator-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/annotator-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20140327/32bdbeac/attachment-0004.html>

More information about the annotator-dev mailing list