bevacqua / rome

:calendar: Customizable date (and time) picker. Opt-in UI, no jQuery!
https://bevacqua.github.io/rome
MIT License
2.91k stars 223 forks source link

some javascript non fatal errors #184

Open ROBERT-MCDOWELL opened 6 years ago

ROBERT-MCDOWELL commented 6 years ago

I would like to thank everybody who worked on ROME, it's one of the only javascript/css code I found with almost no warnings (strict mode is apparently not a good friend for a lot of JS libraries today) I just found only 2 warnings:

Warning: SyntaxError: test for equality (==) mistyped as assignment (=)? Source File: rome.min.js Line: 2, Column: 10189 Source Code: ),n=n?n.split("-"):null;e>0;){if(r=M(o.slice(0,e).join("-")))return r;if(n&&n.length>=e&&_(o,n,!0)>=e-1)break;e--}i++}re

Warning: SyntaxError: test for equality (==) mistyped as assignment (=)? Source File: rome.min.js Line: 2, Column: 10692 Source Code: ._abbr&&(t=t._locale._abbr),!t)return Rr;if(!o(t)){if(e=M(t))return e;t=[t]}return D(t)}function T(t,e){var n=t.toLowerC

I don't think I need to fork ROME just for that, so.....

Thanks