Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Small bug fixes (#66)
Browse files Browse the repository at this point in the history
* Update dependencies
* Fixed minifying ld+json
  • Loading branch information
shinsenter authored Aug 15, 2021
1 parent f95a852 commit 1d9f476
Show file tree
Hide file tree
Showing 18 changed files with 239 additions and 319 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ $options = [
'manually_add_deferjs' => false,

// URL to defer.js javascript file.
// Default: https://cdn.jsdelivr.net/npm/@shinsenter/defer.js@2.4.2/dist/defer_plus.min.js
// Default: https://cdn.jsdelivr.net/npm/@shinsenter/defer.js@2.5.0/dist/defer_plus.min.js
'deferjs_src' => \AppSeeds\DeferConstant::SRC_DEFERJS_CDN,

// URL to javascript contains fixes.
Expand Down
1 change: 0 additions & 1 deletion assets/.uglifyjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"width": 80,
"wrap_iife": false,
"comments": "/^@/",
"ie8": true,
"webkit": true
},
"wrap": null
Expand Down
2 changes: 1 addition & 1 deletion assets/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
var _dataLayer = 'dataLayer';

// Common CSS selectors
var _queryTarget = '.defer-loading:not([data-ignore]):not([lazied])';
var _queryTarget = '.defer-loading:not([data-ignore])';

/*
|--------------------------------------------------------------------------
Expand Down
8 changes: 4 additions & 4 deletions assets/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ embed {
background-color: initial!important;
}

.defer-faded [lazied]{
transition: opacity 0.2s;
}

.defer-faded .defer-loading {
opacity: 0.5!important;
}

.defer-faded .defer-loaded {
transition: opacity 0.2s;
}
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
],
"pull": [
"rm -rf ./cache/*/ ./vendor/ ./composer.lock",
"composer update -o -a -n --no-dev --prefer-dist --ansi",
"composer update -o -a -n --prefer-dist --ansi",
"npm run pull --ansi",
"@assets"
],
Expand All @@ -91,7 +91,7 @@
"symfony/polyfill-mbstring": "^1.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.0"
"friendsofphp/php-cs-fixer": ">=2"
},
"suggest": {
"ext-mbstring": "*"
Expand Down
Loading

0 comments on commit 1d9f476

Please sign in to comment.