tweaks
This commit is contained in:
parent
3f8e45cd18
commit
b83c4cebf6
@ -2175,8 +2175,8 @@
|
||||
sauce = {
|
||||
init: function() {
|
||||
sauce.prefixes = conf['flavors'].match(/^[^#].+$/gm);
|
||||
sauce.names = sauce.prefixes.map(function(s) {
|
||||
return s.match(/\w+(?=\.)/)[0];
|
||||
sauce.names = sauce.prefixes.map(function(prefix) {
|
||||
return prefix.match(/(\w+)\./)[1];
|
||||
});
|
||||
return g.callbacks.push(function(root) {
|
||||
var i, link, prefix, span, suffix, _len, _ref, _results;
|
||||
|
||||
@ -1647,7 +1647,7 @@ anonymize =
|
||||
sauce =
|
||||
init: ->
|
||||
sauce.prefixes = conf['flavors'].match /^[^#].+$/gm
|
||||
sauce.names = sauce.prefixes.map (s) -> s.match(/\w+(?=\.)/)[0]
|
||||
sauce.names = sauce.prefixes.map (prefix) -> prefix.match(/(\w+)\./)[1]
|
||||
g.callbacks.push (root) ->
|
||||
return if root.className is 'inline' or not span = $ '.filesize', root
|
||||
suffix = $('a', span).href
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user