#304 wasn't merged correctly.

This is a Fix. "Make keyboard infrastructure route keys like []^$ the right way."
This commit is contained in:
Adam Jimenez 2011-07-27 10:21:14 +02:00
commit 5e8da97474

View file

@ -64,9 +64,9 @@ var TextInput = function(parentNode, host) {
if (value.charCodeAt(value.length-1) == PLACEHOLDER.charCodeAt(0)) {
value = value.slice(0, -1);
if (value)
host.onTextInput(value);
host.onTextInput(value, !pasted);
} else {
host.onTextInput(value);
host.onTextInput(value, !pasted);
}
// If editor is no longer focused we quit immediately, since