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
bf8598e060
commit
b6c659e295
2 changed files with 2 additions and 5 deletions
File diff suppressed because one or more lines are too long
|
@ -12,7 +12,6 @@
|
|||
ELEMENT_NODE = 1, // Node.ELEMENT_NODE,
|
||||
TEXT_NODE = 3, // Node.TEXT_NODE,
|
||||
SHOW_TEXT = 4, // NodeFilter.SHOW_TEXT,
|
||||
SHOW_ELEMENT = 1, // NodeFilter.SHOW_ELEMENT,
|
||||
FILTER_ACCEPT = 1, // NodeFilter.FILTER_ACCEPT,
|
||||
FILTER_SKIP = 3; // NodeFilter.FILTER_SKIP;
|
||||
|
||||
|
@ -1143,7 +1142,7 @@
|
|||
var cleanupBRs = function ( root ) {
|
||||
var brs = root.querySelectorAll( 'BR' ),
|
||||
l = brs.length,
|
||||
br, block, nodeAfterSplit, div, next;
|
||||
br, block;
|
||||
|
||||
while ( l-- ) {
|
||||
br = brs[l];
|
||||
|
@ -1539,8 +1538,6 @@
|
|||
|
||||
// --- Export ---
|
||||
|
||||
var styleExtractor = /<style[^>]*>([\s\S]*?)<\/style>/gi;
|
||||
|
||||
var chain = function ( fn ) {
|
||||
return function () {
|
||||
fn.apply( null, arguments );
|
||||
|
|
Loading…
Reference in a new issue