diff options
| author | Michael Ball <cycomachead@gmail.com> | 2015-06-15 18:49:24 -0700 |
|---|---|---|
| committer | Michael Ball <cycomachead@gmail.com> | 2015-06-15 18:49:24 -0700 |
| commit | 93d67ed386bba4862ac00eb55dcf664300ce53c7 (patch) | |
| tree | d9d0ac08b2dbce9acae0cacb98e9d6996a2cbb0a /objects.js | |
| parent | 3885ced35aee903f74d48c293bc3f0665a38dba5 (diff) | |
| download | snap-93d67ed386bba4862ac00eb55dcf664300ce53c7.tar.gz snap-93d67ed386bba4862ac00eb55dcf664300ce53c7.zip | |
Fix Error Handing in the DATE block
For some reason the function wasnt properly catching errors and was instead rasing native
JS errors. This fixes that bug, so the function will now report nothing when it doesnt know
what to do.
In addition, moving the variable `dateMap` inside the function reduces a global variable, which
shouldnt affect anything other than keeping the code clean. :)
Diffstat (limited to 'objects.js')
0 files changed, 0 insertions, 0 deletions
