diff --git a/LICENSE b/LICENSE index 5cdda9724..364150458 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ /* -* appchan x - Version 2.9.28 - 2014-05-27 +* appchan x - Version 2.9.28 - 2014-05-29 * * Licensed under the MIT license. * https://github.com/zixaphir/appchan-x/blob/master/LICENSE diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index c6fed59bf..cf87e6f33 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -25,7 +25,7 @@ // ==/UserScript== /* -* appchan x - Version 2.9.28 - 2014-05-27 +* appchan x - Version 2.9.28 - 2014-05-29 * * Licensed under the MIT license. * https://github.com/zixaphir/appchan-x/blob/master/LICENSE @@ -8104,7 +8104,7 @@ ExpandComment.callbacks.push(this.node); } if (Conf['Embedding'] || Conf['Link Title']) { - this.embedProcess = Function('link', "var data = this.services(link);\nif (data) {" + ((Conf['Embedding'] ? 'this.embed(data); ' : '') + (Conf['Link Title'] ? 'data.push(post); this.title(data);' : '')) + "}"); + this.embedProcess = Function('link', 'post', "var data = this.services(link);\nif (data) {" + ((Conf['Embedding'] ? 'this.embed(data); ' : '') + (Conf['Link Title'] ? 'data.push(post); this.title(data);' : '')) + "}"); } return Post.callbacks.push({ name: 'Linkify', diff --git a/builds/crx/script.js b/builds/crx/script.js index bc795dd48..83ca9ff3d 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -1,6 +1,6 @@ // Generated by CoffeeScript /* -* appchan x - Version 2.9.28 - 2014-05-27 +* appchan x - Version 2.9.28 - 2014-05-29 * * Licensed under the MIT license. * https://github.com/zixaphir/appchan-x/blob/master/LICENSE @@ -8155,7 +8155,7 @@ ExpandComment.callbacks.push(this.node); } if (Conf['Embedding'] || Conf['Link Title']) { - this.embedProcess = Function('link', "var data = this.services(link);\nif (data) {" + ((Conf['Embedding'] ? 'this.embed(data); ' : '') + (Conf['Link Title'] ? 'data.push(post); this.title(data);' : '')) + "}"); + this.embedProcess = Function('link', 'post', "var data = this.services(link);\nif (data) {" + ((Conf['Embedding'] ? 'this.embed(data); ' : '') + (Conf['Link Title'] ? 'data.push(post); this.title(data);' : '')) + "}"); } return Post.callbacks.push({ name: 'Linkify', diff --git a/src/Linkification/Linkify.coffee b/src/Linkification/Linkify.coffee index c6a5754a0..e65f42389 100755 --- a/src/Linkification/Linkify.coffee +++ b/src/Linkification/Linkify.coffee @@ -9,7 +9,7 @@ Linkify = ExpandComment.callbacks.push @node if Conf['Embedding'] or Conf['Link Title'] - @embedProcess = Function 'link', + @embedProcess = Function 'link', 'post', """ var data = this.services(link); if (data) {#{