replaced function(){} with noop

This commit is contained in:
Matthias Bartelmeß 2012-03-27 12:28:47 +02:00
parent e7ac8d6d4a
commit a82cc07881
1 changed files with 5 additions and 8 deletions

View File

@ -78,14 +78,11 @@ function Ace2Inner(){
var overlaysdiv = lineMetricsDiv.nextSibling; var overlaysdiv = lineMetricsDiv.nextSibling;
initLineNumbers(); initLineNumbers();
var outsideKeyDown = function(evt) var outsideKeyDown = noop;
{};
var outsideKeyPress = function(evt) var outsideKeyPress = function(){return true;};
{
return true; var outsideNotifyDirty = noop;
};
var outsideNotifyDirty = function()
{};
// selFocusAtStart -- determines whether the selection extends "backwards", so that the focus // selFocusAtStart -- determines whether the selection extends "backwards", so that the focus
// point (controlled with the arrow keys) is at the beginning; not supported in IE, though // point (controlled with the arrow keys) is at the beginning; not supported in IE, though