Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mfilip committed Jul 15, 2022
1 parent b43631c commit 04e2521
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 22 deletions.
40 changes: 20 additions & 20 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"test:build": "rollup -c test/snapshot/rollup.config.js",
"test:watch": "rollup -c test/snapshot/rollup.config.js -w",
"test": "npm run test:snapshot",
"open:snapshot": "cypress open --project test/snapshot"
"open:snapshot": "cypress open --project test/snapshot",
"open:e2e": "cypress open --project test/e2e"
},
"release": {
"extends": "@cablanchard/semantic-release"
Expand Down
2 changes: 1 addition & 1 deletion view/frontend/templates/store.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ $helper = $this->helper('Idealpostcodes\Ukaddresssearch\Helper\Data'); ?>
document.addEventListener('DOMContentLoaded', function() {
var url = window.location.href;
var onlyOnCheckout = <?php echo $helper->getConfig('checkoutOnly'); ?>;
var urlRegex = new Regex("<?php echo $helper->getConfig('matchCheckout'); ?>");
var urlRegex = new RegExp("<?php echo $helper->getConfig('matchCheckout'); ?>");
var script = document.createElement("script");
script.src = "<?php echo $helper->getFileUrl('binding.min.js'); ?>";
script.onload = function() {
Expand Down

0 comments on commit 04e2521

Please sign in to comment.