<NME> repeater.js
<BEF> ADDFILE
<MSG> better mouse down repeater for numbers

<DFF> @@ -0,0 +1,16 @@
+// my tests in ie11/chrome/FF indicate that keyDown repeats
+// at about 35ms+/- 5ms after an initial 500ms delay. callback fires on the leading edge
+function Repeater(callback){
+  var id
+    , cancel = () => clearInterval(id);
+
+  id = setInterval(()=> {
+    cancel()
+    id = setInterval(callback, 35) 
+    callback() //fire after everything in case the user cancels on the first call
+  }, 500)
+
+  return cancel
+}
+
+module.exports = Repeater
\ No newline at end of file

better mouse down repeater for numbers