forked from Botanical/BotanJS
Migrate old externs 9/x
This commit is contained in:
@@ -14,7 +14,11 @@
|
||||
return str.replace( "\t", "^I" ).replace( "\n", "^J" );
|
||||
};
|
||||
|
||||
/** @type {Components.Vim.IAction} */
|
||||
/**
|
||||
* @constructor
|
||||
* @implements {Components.Vim.IAction}
|
||||
* @param {Components.Vim.Cursor} Cursor
|
||||
*/
|
||||
var QUIT = function( Cursor )
|
||||
{
|
||||
/** @type {Components.Vim.Cursor} */
|
||||
@@ -28,6 +32,8 @@
|
||||
this.__cursor.unsuppressEvent();
|
||||
};
|
||||
|
||||
QUIT.prototype.allowMovement = false;
|
||||
|
||||
QUIT.prototype.handler = function( e, p )
|
||||
{
|
||||
e.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user