From d8ba86c5ab80246cfa6cfb44a525cbeef0ba3036 Mon Sep 17 00:00:00 2001 From: Jeff Tan Date: Mon, 2 Mar 2015 10:54:35 -0800 Subject: [PATCH] Add focusin and focusout events fixes #54 --- src/application.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/application.js b/src/application.js index 1219a2b..0d5d759 100644 --- a/src/application.js +++ b/src/application.js @@ -56,10 +56,10 @@ Box.Application = (function() { application = new Box.EventTarget(); // base object for application - // Supported events for modules + // Supported events for modules. Only events that bubble properly can be used in T3. var eventTypes = ['click', 'mouseover', 'mouseout', 'mousedown', 'mouseup', 'mouseenter', 'mouseleave', 'keydown', 'keyup', 'submit', 'change', - 'contextmenu', 'dblclick', 'input']; + 'contextmenu', 'dblclick', 'input', 'focusin', 'focusout']; /** * Reset all state to its default values