Skip to content

Instantly share code, notes, and snippets.

@resident-uhlig
resident-uhlig / numeral.js.patch
Created December 11, 2013 08:37
Patch for https://github.com/adamwdraper/Numeral-js/ to allow minimal length (before decimals)
Index: numeral.js
===================================================================
--- numeral.js (Revision 3089)
+++ numeral.js (Arbeitskopie)
@@ -235,12 +235,19 @@
precision,
thousands,
d = '',
- neg = false;
+ neg = false,