code: function mod(a, b) {
      return function(e, k) {
        var action = !(e.shiftKey || e.ctrlKey || e.altKey || e.metaKey) ? a : b;
        return resolve(action, e, k);
      };
    }
docs: If no modifiers a, else b.