actual/patches/pikaday+1.8.0.patch
2022-04-28 22:44:38 -04:00

16 lines
670 B
Diff

diff --git a/node_modules/pikaday/pikaday.js b/node_modules/pikaday/pikaday.js
index 8dae838..13ecfbe 100755
--- a/node_modules/pikaday/pikaday.js
+++ b/node_modules/pikaday/pikaday.js
@@ -12,8 +12,8 @@
if (typeof exports === 'object') {
// CommonJS module
// Load moment.js as an optional dependency
- try { moment = require('moment'); } catch (e) {}
- module.exports = factory(moment);
+ // try { moment = require('moment'); } catch (e) {}
+ module.exports = factory(null);
} else if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(function (req)