diff --git a/build/squire-raw.js b/build/squire-raw.js index e050489..a4591d4 100644 --- a/build/squire-raw.js +++ b/build/squire-raw.js @@ -289,15 +289,18 @@ function getPath ( node, root ) { if ( dir = node.dir ) { path += '[dir=' + dir + ']'; } - if( classNames ) { + if ( classNames ) { if ( indexOf.call( classNames, HIGHLIGHT_CLASS ) > -1 ) { - path += '[backgroundColor=' + node.style.backgroundColor.replace(/ /g,'') + ']'; + path += '[backgroundColor=' + + node.style.backgroundColor.replace( / /g,'' ) + ']'; } if ( indexOf.call( classNames, COLOUR_CLASS ) > -1 ) { - path += '[color=' + node.style.color.replace(/ /g,'') + ']'; + path += '[color=' + + node.style.color.replace( / /g,'' ) + ']'; } if ( indexOf.call( classNames, FONT_FAMILY_CLASS ) > -1 ) { - path += '[fontFamily=' + node.style.fontFamily.replace(/ /g,'') + ']'; + path += '[fontFamily=' + + node.style.fontFamily.replace( / /g,'' ) + ']'; } if ( indexOf.call( classNames, FONT_SIZE_CLASS ) > -1 ) { path += '[fontSize=' + node.style.fontSize + ']'; diff --git a/source/Node.js b/source/Node.js index bb6b09b..48c356c 100644 --- a/source/Node.js +++ b/source/Node.js @@ -113,15 +113,18 @@ function getPath ( node, root ) { if ( dir = node.dir ) { path += '[dir=' + dir + ']'; } - if( classNames ) { + if ( classNames ) { if ( indexOf.call( classNames, HIGHLIGHT_CLASS ) > -1 ) { - path += '[backgroundColor=' + node.style.backgroundColor.replace(/ /g,'') + ']'; + path += '[backgroundColor=' + + node.style.backgroundColor.replace( / /g,'' ) + ']'; } if ( indexOf.call( classNames, COLOUR_CLASS ) > -1 ) { - path += '[color=' + node.style.color.replace(/ /g,'') + ']'; + path += '[color=' + + node.style.color.replace( / /g,'' ) + ']'; } if ( indexOf.call( classNames, FONT_FAMILY_CLASS ) > -1 ) { - path += '[fontFamily=' + node.style.fontFamily.replace(/ /g,'') + ']'; + path += '[fontFamily=' + + node.style.fontFamily.replace( / /g,'' ) + ']'; } if ( indexOf.call( classNames, FONT_SIZE_CLASS ) > -1 ) { path += '[fontSize=' + node.style.fontSize + ']';