Skip to content

Commit

Permalink
Merge pull request #779 from emkayy/fix-umd-date
Browse files Browse the repository at this point in the history
Fix UMD Date
  • Loading branch information
aFarkas authored May 17, 2020
2 parents 3720ab8 + 018b825 commit 01d2e52
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lazysizes-umd.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(function(window, factory) {
var lazySizes = factory(window, window.document);
var lazySizes = factory(window, window.document, Date);
if(typeof module == 'object' && module.exports){
module.exports = lazySizes;
} else if (typeof define == 'function' && define.amd) {
Expand Down
2 changes: 1 addition & 1 deletion lazysizes-umd.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/umd.wrapper
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(function(window, factory) {
var lazySizes = factory(window, window.document);
var lazySizes = factory(window, window.document, Date);
if(typeof module == 'object' && module.exports){
module.exports = lazySizes;
} else if (typeof define == 'function' && define.amd) {
Expand Down

0 comments on commit 01d2e52

Please sign in to comment.