(function (exports) {
  var Controls = exports.Controls = {};

  Controls.attach = function (options) {
    var self = this;

    document.addEventListener('keypress', function (e) {
      if (String.fromCharCode(e.keyCode) == "h") {
        self.previous();
      }
      else if (String.fromCharCode(e.keyCode) == "l") {
        self.next();
      }
    });
  };
})(window);


(function (exports) {
  var Controls = exports.Controls = {};

  Controls.attach = function (options) {
    var self = this;

    document.addEventListener('keypress', function (e) {
      var c = String.fromCharCode(e.keyCode);
      if (c == "h" || c == "k") {
        self.previous();
      }
      else if (c == "l" || c == "j") {
        self.next();
      }
    });
  };
})(window);


Allow `j` and `k` to switch slides as well
[ux] Allow `j` and `k` to switch slides as well
