0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-31 11:54:03 -05:00

Whitespace fix.

This commit is contained in:
Neil Jenkins 2012-03-08 15:19:43 +11:00
parent f8273e7d15
commit 70078355b7

View file

@ -35,7 +35,7 @@ var leafNodeNames = {
INPUT: 1 INPUT: 1
}; };
var swap = function( node, node2 ) { var swap = function ( node, node2 ) {
var parent = node2.parentNode; var parent = node2.parentNode;
if ( parent ) { if ( parent ) {
parent.replaceChild( node, node2 ); parent.replaceChild( node, node2 );
@ -137,7 +137,7 @@ implement( Element, {
getLength: function () { getLength: function () {
return this.childNodes.length; return this.childNodes.length;
}, },
getPath: function() { getPath: function () {
var tag = this.nodeName; var tag = this.nodeName;
if ( tag === 'BODY' ) { if ( tag === 'BODY' ) {
return tag; return tag;