"use strict";

exports.onInput = function (elt) {
  return function (f) {
    return function () {
      elt.oninput = function(e) {
        f(e.target.value)()
      }
      return {};
    };
  };
};