Skip to content

Commit

Permalink
trigger travis
Browse files Browse the repository at this point in the history
  • Loading branch information
stevemao committed Jul 21, 2016
1 parent 0138a7f commit 292b375
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ function expand(str) {
var width = Math.max(n[0].length, n[1].length)
var need = width - c.length;
if (need > 0) {
// todo: would be faster if we use O(log(n))
var z = new Array(need + 1).join('0');
if (i < 0)
c = '-' + z + c.slice(1);
Expand Down

0 comments on commit 292b375

Please sign in to comment.