Closed EvanHahn closed 4 years ago
The Asynchronous Module Definition (AMD) is a JavaScript module standard that's fallen out of favor.
HumanizeDuration.js currently supports this. We should remove support in the next major version.
It should be a matter of deleting these lines:
https://github.com/EvanHahn/HumanizeDuration.js/blob/6029e9807718a7da2cbb1f859b3e7e0f94049069/humanize-duration.js#L1288-L1291
We'll also remove define from the list of globals, on this line:
define
https://github.com/EvanHahn/HumanizeDuration.js/blob/6029e9807718a7da2cbb1f859b3e7e0f94049069/humanize-duration.js#L3
This pull request should be made against the v4.0.0 branch, which you can see in #176.
v4.0.0
Closed in #186.
The Asynchronous Module Definition (AMD) is a JavaScript module standard that's fallen out of favor.
HumanizeDuration.js currently supports this. We should remove support in the next major version.
It should be a matter of deleting these lines:
https://github.com/EvanHahn/HumanizeDuration.js/blob/6029e9807718a7da2cbb1f859b3e7e0f94049069/humanize-duration.js#L1288-L1291
We'll also remove
define
from the list of globals, on this line:https://github.com/EvanHahn/HumanizeDuration.js/blob/6029e9807718a7da2cbb1f859b3e7e0f94049069/humanize-duration.js#L3
This pull request should be made against the
v4.0.0
branch, which you can see in #176.