Skip to content

Commit

Permalink
Merge pull request #780 from emkayy/amd-for-plugins-umd
Browse files Browse the repository at this point in the history
AMD for Plug-ins UMD
  • Loading branch information
aFarkas authored May 17, 2020
2 parents 01d2e52 + e2ab14e commit 9803587
Show file tree
Hide file tree
Showing 46 changed files with 69 additions and 23 deletions.
2 changes: 2 additions & 0 deletions plugins/artdirect/ls.artdirect.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

if(typeof module == 'object' && module.exports){
factory(require('lazysizes'));
} else if (typeof define == 'function' && define.amd) {
require(['lazysizes'], factory);
} else if(window.lazySizes) {
globalInstall();
} else {
Expand Down
2 changes: 1 addition & 1 deletion plugins/artdirect/ls.artdirect.min.js

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

2 changes: 2 additions & 0 deletions plugins/aspectratio/ls.aspectratio.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

if(typeof module == 'object' && module.exports){
factory(require('lazysizes'));
} else if (typeof define == 'function' && define.amd) {
require(['lazysizes'], factory);
} else if(window.lazySizes) {
globalInstall();
} else {
Expand Down
2 changes: 1 addition & 1 deletion plugins/aspectratio/ls.aspectratio.min.js

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

2 changes: 2 additions & 0 deletions plugins/attrchange/ls.attrchange.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

if(typeof module == 'object' && module.exports){
factory(require('lazysizes'));
} else if (typeof define == 'function' && define.amd) {
require(['lazysizes'], factory);
} else if(window.lazySizes) {
globalInstall();
} else {
Expand Down
2 changes: 1 addition & 1 deletion plugins/attrchange/ls.attrchange.min.js

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

2 changes: 2 additions & 0 deletions plugins/bgset/ls.bgset.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

if(typeof module == 'object' && module.exports){
factory(require('lazysizes'));
} else if (typeof define == 'function' && define.amd) {
require(['lazysizes'], factory);
} else if(window.lazySizes) {
globalInstall();
} else {
Expand Down
Loading

0 comments on commit 9803587

Please sign in to comment.