diff options
Diffstat (limited to 'library/moment/src/lib/create/parsing-flags.js')
-rw-r--r-- | library/moment/src/lib/create/parsing-flags.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/library/moment/src/lib/create/parsing-flags.js b/library/moment/src/lib/create/parsing-flags.js deleted file mode 100644 index 2bfbcb341..000000000 --- a/library/moment/src/lib/create/parsing-flags.js +++ /dev/null @@ -1,22 +0,0 @@ -function defaultParsingFlags() { - // We need to deep clone this object. - return { - empty : false, - unusedTokens : [], - unusedInput : [], - overflow : -2, - charsLeftOver : 0, - nullInput : false, - invalidMonth : null, - invalidFormat : false, - userInvalidated : false, - iso : false - }; -} - -export default function getParsingFlags(m) { - if (m._pf == null) { - m._pf = defaultParsingFlags(); - } - return m._pf; -} |