From 49297bfe5a52fba239a9203907b8b6fa65c6af88 Mon Sep 17 00:00:00 2001 From: Matej Date: Tue, 8 Mar 2022 21:09:33 +0100 Subject: [PATCH] removed intro js and css from PGuideAsset --- composer.lock | 66 +++++++++++++++++++++++--------------- src/PageGuide.php | 4 +-- src/assets/PGuideAsset.php | 2 -- 3 files changed, 42 insertions(+), 30 deletions(-) diff --git a/composer.lock b/composer.lock index 995e50c..c1555ca 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "077dd66a70f646ee2e324622d91f2cf1", + "content-hash": "afa6df6d62a33e19ab9c824eb65fd244", "packages": [ { "name": "bower-asset/inputmask", @@ -27,12 +27,27 @@ "http://opensource.org/licenses/mit-license.php" ] }, + { + "name": "bower-asset/intro.js", + "version": "v2.9.3", + "source": { + "type": "git", + "url": "git@github.com:usablica/intro.js.git", + "reference": "b46bbcd8af46be2ae3b43aba850334b12ff03cdb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/usablica/intro.js/zipball/b46bbcd8af46be2ae3b43aba850334b12ff03cdb", + "reference": "b46bbcd8af46be2ae3b43aba850334b12ff03cdb" + }, + "type": "bower-asset" + }, { "name": "bower-asset/jquery", "version": "3.6.0", "source": { "type": "git", - "url": "https://github.com/jquery/jquery-dist.git", + "url": "git@github.com:jquery/jquery-dist.git", "reference": "e786e3d9707ffd9b0dd330ca135b66344dcef85a" }, "dist": { @@ -50,12 +65,12 @@ "version": "v1.3.2", "source": { "type": "git", - "url": "git@github.com:bestiejs/punycode.js.git", + "url": "https://github.com/mathiasbynens/punycode.js.git", "reference": "38c8d3131a82567bfef18da09f7f4db68c84f8a3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bestiejs/punycode.js/zipball/38c8d3131a82567bfef18da09f7f4db68c84f8a3", + "url": "https://api.github.com/repos/mathiasbynens/punycode.js/zipball/38c8d3131a82567bfef18da09f7f4db68c84f8a3", "reference": "38c8d3131a82567bfef18da09f7f4db68c84f8a3" }, "type": "bower-asset" @@ -147,32 +162,29 @@ }, { "name": "ezyang/htmlpurifier", - "version": "v4.13.0", + "version": "v4.14.0", "source": { "type": "git", "url": "https://github.com/ezyang/htmlpurifier.git", - "reference": "08e27c97e4c6ed02f37c5b2b20488046c8d90d75" + "reference": "12ab42bd6e742c70c0a52f7b82477fcd44e64b75" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/08e27c97e4c6ed02f37c5b2b20488046c8d90d75", - "reference": "08e27c97e4c6ed02f37c5b2b20488046c8d90d75", + "url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/12ab42bd6e742c70c0a52f7b82477fcd44e64b75", + "reference": "12ab42bd6e742c70c0a52f7b82477fcd44e64b75", "shasum": "" }, "require": { "php": ">=5.2" }, - "require-dev": { - "simpletest/simpletest": "dev-master#72de02a7b80c6bb8864ef9bf66d41d2f58f826bd" - }, "type": "library", "autoload": { - "psr-0": { - "HTMLPurifier": "library/" - }, "files": [ "library/HTMLPurifier.composer.php" ], + "psr-0": { + "HTMLPurifier": "library/" + }, "exclude-from-classmap": [ "/library/HTMLPurifier/Language/" ] @@ -195,9 +207,9 @@ ], "support": { "issues": "https://github.com/ezyang/htmlpurifier/issues", - "source": "https://github.com/ezyang/htmlpurifier/tree/master" + "source": "https://github.com/ezyang/htmlpurifier/tree/v4.14.0" }, - "time": "2020-06-29T00:56:53+00:00" + "time": "2021-12-25T01:21:49+00:00" }, { "name": "paragonie/random_compat", @@ -251,16 +263,16 @@ }, { "name": "yiisoft/yii2", - "version": "2.0.43", + "version": "2.0.45", "source": { "type": "git", "url": "https://github.com/yiisoft/yii2-framework.git", - "reference": "f370955faa3067d9b27879aaf14b0978a805cd59" + "reference": "e2223d4085e5612aa616635f8fcaf478607f62e8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/yiisoft/yii2-framework/zipball/f370955faa3067d9b27879aaf14b0978a805cd59", - "reference": "f370955faa3067d9b27879aaf14b0978a805cd59", + "url": "https://api.github.com/repos/yiisoft/yii2-framework/zipball/e2223d4085e5612aa616635f8fcaf478607f62e8", + "reference": "e2223d4085e5612aa616635f8fcaf478607f62e8", "shasum": "" }, "require": { @@ -316,7 +328,7 @@ { "name": "Carsten Brandt", "email": "mail@cebe.cc", - "homepage": "https://cebe.cc/", + "homepage": "https://www.cebe.cc/", "role": "Core framework development" }, { @@ -349,11 +361,11 @@ "yii2" ], "support": { - "forum": "http://www.yiiframework.com/forum/", - "irc": "irc://irc.libera.chat:6697/yii", + "forum": "https://forum.yiiframework.com/", + "irc": "ircs://irc.libera.chat:6697/yii", "issues": "https://github.com/yiisoft/yii2/issues?state=open", "source": "https://github.com/yiisoft/yii2", - "wiki": "http://www.yiiframework.com/wiki/" + "wiki": "https://www.yiiframework.com/wiki" }, "funding": [ { @@ -369,7 +381,7 @@ "type": "tidelift" } ], - "time": "2021-08-09T17:38:43+00:00" + "time": "2022-02-11T13:12:40+00:00" }, { "name": "yiisoft/yii2-composer", @@ -454,7 +466,9 @@ "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, - "platform": [], + "platform": { + "php": ">=7.2.0" + }, "platform-dev": [], "plugin-api-version": "2.1.0" } diff --git a/src/PageGuide.php b/src/PageGuide.php index 6c08221..5d38615 100644 --- a/src/PageGuide.php +++ b/src/PageGuide.php @@ -29,10 +29,10 @@ public function registerTranslations() { if (Yii::$app->has('i18n')) { Yii::$app->i18n->translations['pageGuide/*'] = [ - 'class' => 'yii\i18n\PhpMessageSource', + 'class' => 'yii\i18n\PhpMessageSource', 'sourceLanguage' => 'en', 'forceTranslation' => true, - 'basePath' => '@matejch/pageGuide/messages', + 'basePath' => '@matejch/pageGuide/messages', 'fileMap' => [ 'pageGuide/view' => 'view.php', 'pageGuide/model' => 'model.php', diff --git a/src/assets/PGuideAsset.php b/src/assets/PGuideAsset.php index ed514c1..e112b5a 100644 --- a/src/assets/PGuideAsset.php +++ b/src/assets/PGuideAsset.php @@ -10,12 +10,10 @@ class PGuideAsset extends AssetBundle public $css = [ 'css/assist.min.css', - 'css/introjs.min.css', ]; public $js = [ 'js/assist.min.js', - 'js/intro.min.js', ];