From e6b3ed5ac9bda56c487ae3fa0361865e98eabff8 Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Thu, 16 Dec 2010 19:09:27 +0100 Subject: [PATCH] fix keyutil --- plugins/pilot/keyboard/keyutil.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/pilot/keyboard/keyutil.js b/plugins/pilot/keyboard/keyutil.js index 4585d20e..12bc3a99 100644 --- a/plugins/pilot/keyboard/keyutil.js +++ b/plugins/pilot/keyboard/keyutil.js @@ -33,7 +33,7 @@ For more information about SproutCore, visit http://www.sproutcore.com define(function(require, exports, module) { -var dom = require('pilot/dom'); +var event = require('pilot/event'); var useragent = require('pilot/useragent'); /** @@ -215,7 +215,7 @@ exports.addKeyDownListener = function(element, boundFunction) { var handled = boundFunction(ev); // If the boundFunction returned true, then stop the event. if (handled) { - dom.stopEvent(ev); + event.stopEvent(ev); } return handled; };