Commit 5cb7a653 authored by Pouya Kary's avatar Pouya Kary

formatted ;s

parent d8a3a1e3
......@@ -28,7 +28,7 @@
QuartetGenerator.finish = code => {
return code.trim( )
};
}
//
// ─── SCRUB NAKED VALUE ──────────────────────────────────────────────────────────
......@@ -36,7 +36,7 @@
QuartetGenerator.scrubNakedValue = line => {
return line.trim( )
};
}
//
// ─── QUOTE ──────────────────────────────────────────────────────────────────────
......@@ -44,7 +44,7 @@
QuartetGenerator.quote_ = text => {
return text.trim( )
};
}
//
// ─── SCRUB ──────────────────────────────────────────────────────────────────────
......
......@@ -13,7 +13,7 @@
//
function onNewFile ( force = false ) {
if ( !( checkForSavingChanges( ) || force ) ) return;
if ( !( checkForSavingChanges( ) || force ) ) { return }
currentFile =
Object.assign({ }, defaultFileObject)
......@@ -29,7 +29,7 @@
//
function onOpenFile ( ) {
if ( !checkForSavingChanges( ) ) return;
if ( !checkForSavingChanges( ) ) { return }
// get file path
let filePath = dialog.showOpenDialog( getWindowForDialogSheets( ), {
......@@ -40,7 +40,7 @@
}]
})
if ( filePath === undefined ) return;
if ( filePath === undefined ) { return }
// done let's load.
openFileWithPath( filePath[ 0 ] )
......
......@@ -14,13 +14,12 @@
function checkToSeeIfRegExpImporterNeedsToBeDisabledOnOutClick ( event ) {
function isChildOf( child, parent ) {
if ( child.parentNode === parent ) {
return true;
} else if ( child.parentNode === null ) {
return false;
} else {
return isChildOf( child.parentNode, parent );
}
if ( child.parentNode === parent )
return true
else if ( child.parentNode === null )
return false
else
return isChildOf( child.parentNode, parent )
}
let dialog = document.getElementById('regexp-importer')
......
......@@ -226,7 +226,7 @@
// ────────────────────────────────────────────────────────────────────────────────
];
]
//
// ─── OS SPECIFIC MENUS ──────────────────────────────────────────────────────────
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment