Commit 6c0ee12e authored by csillag's avatar csillag

Update Annotator to fe865447 (typed-packaging branch)

After this bugfix, we are now storing the canonical URLs
in the URI field of the created annotations.
parent 83a727fd
......@@ -12,7 +12,7 @@ class Annotator.Plugin.Document extends Annotator.Plugin
uri: =>
uri = decodeURIComponent document.location.href
for link in @metadata
for link in @metadata.link
if link.rel == "canonical"
uri = link.href
return uri
......
// Generated by CoffeeScript 1.6.3
/*
** Annotator 1.2.6-dev-2542d55
** Annotator 1.2.6-dev-fe86544
** https://github.com/okfn/annotator/
**
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
**
** Built at: 2014-05-28 21:22:22Z
** Built at: 2014-05-29 13:17:47Z
*/
......
// Generated by CoffeeScript 1.6.3
/*
** Annotator 1.2.6-dev-2542d55
** Annotator 1.2.6-dev-fe86544
** https://github.com/okfn/annotator/
**
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
**
** Built at: 2014-05-28 21:22:23Z
** Built at: 2014-05-29 13:17:48Z
*/
......@@ -61,7 +61,7 @@
Document.prototype.uri = function() {
var link, uri, _i, _len, _ref1;
uri = decodeURIComponent(document.location.href);
_ref1 = this.metadata;
_ref1 = this.metadata.link;
for (_i = 0, _len = _ref1.length; _i < _len; _i++) {
link = _ref1[_i];
if (link.rel === "canonical") {
......
// Generated by CoffeeScript 1.6.3
/*
** Annotator 1.2.6-dev-2542d55
** Annotator 1.2.6-dev-fe86544
** https://github.com/okfn/annotator/
**
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
**
** Built at: 2014-05-28 21:22:29Z
** Built at: 2014-05-29 13:17:54Z
*/
......
// Generated by CoffeeScript 1.6.3
/*
** Annotator 1.2.6-dev-2542d55
** Annotator 1.2.6-dev-fe86544
** https://github.com/okfn/annotator/
**
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
**
** Built at: 2014-05-28 21:22:35Z
** Built at: 2014-05-29 13:18:00Z
*/
......
// Generated by CoffeeScript 1.6.3
/*
** Annotator 1.2.6-dev-2542d55
** Annotator 1.2.6-dev-fe86544
** https://github.com/okfn/annotator/
**
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
**
** Built at: 2014-05-28 21:22:19Z
** Built at: 2014-05-29 13:17:44Z
*/
......
// Generated by CoffeeScript 1.6.3
/*
** Annotator 1.2.6-dev-2542d55
** Annotator 1.2.6-dev-fe86544
** https://github.com/okfn/annotator/
**
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
**
** Built at: 2014-05-28 21:22:35Z
** Built at: 2014-05-29 13:18:01Z
*/
......
// Generated by CoffeeScript 1.6.3
/*
** Annotator 1.2.6-dev-2542d55
** Annotator 1.2.6-dev-fe86544
** https://github.com/okfn/annotator/
**
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
**
** Built at: 2014-05-28 21:22:26Z
** Built at: 2014-05-29 13:17:51Z
*/
......
// Generated by CoffeeScript 1.6.3
/*
** Annotator 1.2.6-dev-2542d55
** Annotator 1.2.6-dev-fe86544
** https://github.com/okfn/annotator/
**
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
**
** Built at: 2014-05-28 21:22:27Z
** Built at: 2014-05-29 13:17:52Z
*/
......
// Generated by CoffeeScript 1.6.3
/*
** Annotator 1.2.6-dev-2542d55
** Annotator 1.2.6-dev-fe86544
** https://github.com/okfn/annotator/
**
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
**
** Built at: 2014-05-28 21:22:30Z
** Built at: 2014-05-29 13:17:55Z
*/
......
// Generated by CoffeeScript 1.6.3
/*
** Annotator 1.2.6-dev-2542d55
** Annotator 1.2.6-dev-fe86544
** https://github.com/okfn/annotator/
**
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
**
** Built at: 2014-05-28 21:22:29Z
** Built at: 2014-05-29 13:17:55Z
*/
......
// Generated by CoffeeScript 1.6.3
/*
** Annotator 1.2.6-dev-2542d55
** Annotator 1.2.6-dev-fe86544
** https://github.com/okfn/annotator/
**
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
**
** Built at: 2014-05-28 21:22:33Z
** Built at: 2014-05-29 13:17:58Z
*/
......
// Generated by CoffeeScript 1.6.3
/*
** Annotator 1.2.6-dev-2542d55
** Annotator 1.2.6-dev-fe86544
** https://github.com/okfn/annotator/
**
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
**
** Built at: 2014-05-28 21:22:34Z
** Built at: 2014-05-29 13:17:59Z
*/
......
// Generated by CoffeeScript 1.6.3
/*
** Annotator 1.2.6-dev-2542d55
** Annotator 1.2.6-dev-fe86544
** https://github.com/okfn/annotator/
**
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
**
** Built at: 2014-05-28 21:22:32Z
** Built at: 2014-05-29 13:17:57Z
*/
......
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