Skip to content

Commit

Permalink
Improved code readability
Browse files Browse the repository at this point in the history
  • Loading branch information
rmm5t committed Apr 21, 2012
1 parent 3235191 commit 7f08b8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion liquidmetal.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var LiquidMetal = (function() {
this._scoreAll(string, search, abbrev, -1, 0, [], allScores);

// complete miss
if (!allScores.length) return 0;
if (allScores.length == 0) return 0;

// sum per-character scores into overall scores,
// selecting the maximum score
Expand Down

0 comments on commit 7f08b8c

Please sign in to comment.