Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Zibi Braniecki committed Sep 23, 2015
1 parent 8b4d137 commit 09f7a44
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions shared/js/moz_intl.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
'use strict';

function leftZeroPad(num){
if(num < 10){
return '0' + num.toString();
}
return num.toString();
return (num < 10 ? '0' : '') + num.toString();
}

global.mozIntl = {
Expand Down

0 comments on commit 09f7a44

Please sign in to comment.