aboutsummaryrefslogtreecommitdiff
path: root/js/Dom.js
blob: 6835c1fd79a64f3be1aefa568fb75514040a1f03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
"use strict";

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