mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-09 20:07:51 -06:00
chore: copy .data file directly, remove locateFile step
This commit is contained in:
@@ -7,12 +7,6 @@
|
||||
<canvas id="canvas"></canvas>
|
||||
<script>
|
||||
var Module = {
|
||||
'locateFile': function (path, prefix) {
|
||||
if (path.endsWith(".data")) {
|
||||
return prefix + "deps/" + path;
|
||||
}
|
||||
return prefix + path;
|
||||
},
|
||||
'canvas': document.getElementById('canvas'),
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user