diff --git a/W/Result/Js.php b/W/Result/Js.php index 1d672e3..cd8a1c2 100644 --- a/W/Result/Js.php +++ b/W/Result/Js.php @@ -48,7 +48,7 @@ final protected function render(IR $r):void { */ final static function i(string $name):self { $i = new self; /** @var self $i */ - $i->_r = ju_module_file(__CLASS__, "js/$name", 'js', true, function($f) {return file_get_contents($f);}); + $i->_r = ju_module_file_read(__CLASS__, "js/$name", 'js', function($f) {return file_get_contents($f);}, true); return $i; } } \ No newline at end of file diff --git a/composer.json b/composer.json index 44bea0e..c063ddc 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "justuno.com/m2" - ,"version": "1.8.0" + ,"version": "1.8.1" ,"description": "Justuno module for Magento 2" ,"type": "magento2-module" ,"homepage": "https://github.com/justunoCom/m2" @@ -11,7 +11,7 @@ ,"homepage": "https://www.upwork.com/fl/mage2pro" ,"role": "Developer" }] - ,"require": {"justuno.com/core": ">=1.3.0"} + ,"require": {"justuno.com/core": ">=1.4.4"} ,"autoload": {"files": ["registration.php"], "psr-4": {"Justuno\\M2\\": ""}} ,"keywords": ["Magento 2"] } \ No newline at end of file