aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/InputWithHistory.hx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/InputWithHistory.hx')
-rw-r--r--src/client/InputWithHistory.hx12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/client/InputWithHistory.hx b/src/client/InputWithHistory.hx
index c4e8bf4..e7dfe83 100644
--- a/src/client/InputWithHistory.hx
+++ b/src/client/InputWithHistory.hx
@@ -1,19 +1,20 @@
package client;
-import js.html.KeyboardEvent;
import js.html.InputElement;
+import js.html.KeyboardEvent;
class InputWithHistory {
-
final element:InputElement;
final maxItems:Int;
final history:Array<String>;
- final onEnter:(value:String)->Bool;
+ final onEnter:(value:String) -> Bool;
var historyId = -1;
public function new(
- element:InputElement, ?history:Array<String>, maxItems:Int,
- onEnter:(value:String)->Bool
+ element:InputElement,
+ ?history:Array<String>,
+ maxItems:Int,
+ onEnter:(value:String) -> Bool
) {
this.element = element;
if (history != null) this.history = history;
@@ -65,5 +66,4 @@ class InputWithHistory {
function onInput():Void {
if (element.oninput != null) element.oninput();
}
-
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage