mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 07:13:08 -05:00
Remove unused variables
This commit is contained in:
parent
099277e750
commit
73f18523a2
3 changed files with 3 additions and 5 deletions
|
@ -599,7 +599,7 @@ proto._updatePath = function ( range, force ) {
|
|||
// selectionchange is fired synchronously in IE when removing current selection
|
||||
// and when setting new selection; keyup/mouseup may have processing we want
|
||||
// to do first. Either way, send to next event loop.
|
||||
proto._updatePathOnEvent = function ( event ) {
|
||||
proto._updatePathOnEvent = function () {
|
||||
var self = this;
|
||||
if ( self._isFocused && !self._willUpdatePath ) {
|
||||
self._willUpdatePath = true;
|
||||
|
@ -1611,8 +1611,7 @@ proto._setHTML = function ( html ) {
|
|||
};
|
||||
|
||||
proto.getHTML = function ( withBookMark ) {
|
||||
var brs = [],
|
||||
root, node, fixer, html, l, range;
|
||||
var html, range;
|
||||
if ( withBookMark && ( range = this.getSelection() ) ) {
|
||||
this._saveRangeToBookmark( range );
|
||||
}
|
||||
|
|
|
@ -506,7 +506,7 @@ var keyHandlers = {
|
|||
}
|
||||
},
|
||||
space: function ( self, _, range ) {
|
||||
var node, parent;
|
||||
var node;
|
||||
var root = self._root;
|
||||
self._recordUndoState( range );
|
||||
if ( self._config.addLinks ) {
|
||||
|
|
|
@ -293,7 +293,6 @@ function fixContainer ( container, root ) {
|
|||
var doc = container.ownerDocument;
|
||||
var wrapper = null;
|
||||
var i, l, child, isBR;
|
||||
var config = root.__squire__._config;
|
||||
|
||||
for ( i = 0, l = children.length; i < l; i += 1 ) {
|
||||
child = children[i];
|
||||
|
|
Loading…
Reference in a new issue