diff --git a/src/vector/index.html b/src/vector/index.html index fa6c6e19..331bf684 100644 --- a/src/vector/index.html +++ b/src/vector/index.html @@ -40,7 +40,7 @@ <% for (var i=0; i < htmlWebpackPlugin.files.js.length; i++) { // Not a particularly graceful way of not putting the indexeddb worker script // into the main page - if (htmlWebpackPlugin.files.js[i].endsWith('indexeddb-worker.js')) { + if (_.endsWith(htmlWebpackPlugin.files.js[i], 'indexeddb-worker.js')) { %>