Skip to content

Commit

Permalink
update to v3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
HamedDarragi committed Aug 27, 2021
1 parent 910e135 commit b9ef2be
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 18 deletions.
6 changes: 3 additions & 3 deletions build/package-lock.json

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

2 changes: 1 addition & 1 deletion build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"build": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
},
"dependencies": {
"js-cookie": "^3.0.0-rc.1"
"js-cookie": "^3.0.0"
},
"devDependencies": {
"cross-env": "^6.0",
Expand Down
22 changes: 10 additions & 12 deletions index.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
<?php

use Concrete\Core\Asset\Asset;
use Xanweb\ExtAsset\Asset\VendorAssetManager;

VendorAssetManager::registerMultiple([
'js-cookie' => [
[
'vendor-javascript', 'js.cookie.js', 'xanweb/c5-js-cookie', [
'minify' => false,
'version' => '3.0.0-rc.1',
'position' => Asset::ASSET_POSITION_HEADER,
],
],
],
]);
VendorAssetManager::register(
'vendor-javascript',
'js-cookie',
'js.cookie.js',
'xanweb/c5-js-cookie',
[
'minify' => false,
'version' => '3.0.0',
]
);
4 changes: 2 additions & 2 deletions js.cookie.js

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

0 comments on commit b9ef2be

Please sign in to comment.