inline node funk

This commit is contained in:
James Campos 2011-06-20 12:32:09 -07:00
parent 9aef4c09ef
commit 2e98085f18
2 changed files with 71 additions and 74 deletions

View File

@ -1829,9 +1829,7 @@
}; };
quoteBacklink = { quoteBacklink = {
init: function() { init: function() {
return g.callbacks.push(quoteBacklink.node); return g.callbacks.push(function(root) {
},
node: function(root) {
var el, id, link, opbl, qid, quote, quotes, _i, _len, _ref, _results; var el, id, link, opbl, qid, quote, quotes, _i, _len, _ref, _results;
if (/inline/.test(root.className)) { if (/inline/.test(root.className)) {
return; return;
@ -1876,6 +1874,7 @@
_results.push($.append($('.container', el), $.tn(' '), link)); _results.push($.append($('.container', el), $.tn(' '), link));
} }
return _results; return _results;
});
} }
}; };
quoteInline = { quoteInline = {

View File

@ -1440,9 +1440,7 @@ titlePost =
quoteBacklink = quoteBacklink =
init: -> init: ->
g.callbacks.push quoteBacklink.node g.callbacks.push (root) ->
node: (root) ->
return if /inline/.test root.className return if /inline/.test root.className
$.after $('span[id^=no]', root), $.el 'span', className: 'container' $.after $('span[id^=no]', root), $.el 'span', className: 'container'
# op or reply # op or reply