This commit is contained in:
James 2020-03-29 08:35:39 +01:00
parent 3571d484e5
commit 9fc34186df

View File

@ -2,7 +2,7 @@
<link rel="stylesheet" href="heatcalc.css"> <link rel="stylesheet" href="heatcalc.css">
<script> <script>
require(['heatcalc'], function (hc) { require(['heatcalc'], function (hc) {
hc.init("<?php echo $block->getFileUrl('data.json');?>"); hc.init('data.json');
}); });
</script> </script>
<link rel="stylesheet" type="text/css" media="screen" href="<?php echo $block->getFileUrl('heatcalc.css');?>" /> <link rel="stylesheet" type="text/css" media="screen" href="<?php echo $block->getFileUrl('heatcalc.css');?>" />