Skip to content

Commit

Permalink
Remove superfluous comments
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jul 9, 2017
1 parent 6512e7b commit 2729a9f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions cli.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
#!/usr/bin/env node
'use strict';

/* Dependencies. */
var pack = require('./package.json');
var metaphone = require('./');

/* Arguments. */
var argv = process.argv.slice(2);

/* Program. */
if (
argv.indexOf('--help') !== -1 ||
argv.indexOf('-h') !== -1
Expand All @@ -29,12 +26,10 @@ if (
console.log(phonetics(argv.join(' ')));
}

/* Core. */
function phonetics(values) {
return values.split(/\s+/g).map(metaphone).join(' ');
}

/* Help. */
function help() {
return [
'',
Expand Down
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
'use strict';

/* Expose. */
module.exports = metaphone;

/* Constants. */
var SH = 'X';
var TH = '0';

Expand Down

0 comments on commit 2729a9f

Please sign in to comment.