intel / webml-polyfill

Deprecated, the Web Neural Network Polyfill project has been moved to https://github.com/webmachinelearning/webnn-polyfill
Apache License 2.0
161 stars 46 forks source link

sw.js reports "ReferenceError: evt is not defined" #1366

Closed huningxin closed 3 years ago

huningxin commented 3 years ago

The error happens at https://github.com/intel/webml-polyfill/blob/gh-pages/sw.js#L16

This issue breaks https://intel.github.io/webml-polyfill/examples/index.html.

BruceDai commented 3 years ago

@huningxin What's your test environment? We couldn't reproduce it.

huningxin commented 3 years ago

Is your sw.js the latest version (v37)?

BruceDai commented 3 years ago

@huningxin Thanks for you reminding. @ibelem helped fix it.