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;
initLineNumbers();
var outsideKeyDown = function(evt)
{};
var outsideKeyPress = function(evt)
{
return true;
};
var outsideNotifyDirty = function()
{};
var outsideKeyDown = noop;
var outsideKeyPress = function(){return true;};
var outsideNotifyDirty = noop;
// 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