I just used this code to vent some frustration earlier, hope you all like it. It's pretty self-explanatory. It's probably too theoretical to go into the DD script archives, so I'll just leave it lying about here. Code: var Generic = (function() { var MATCH_FAIL = {}, MATCH_ANY = function() { return MATCH_ANY; }; function create(fallback) { var s = function() { for (var i = 0, args = Array.prototype.slice.call(arguments), ...
var Generic = (function() { var MATCH_FAIL = {}, MATCH_ANY = function() { return MATCH_ANY; }; function create(fallback) { var s = function() { for (var i = 0, args = Array.prototype.slice.call(arguments),