Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
002cd8fc
Commit
002cd8fc
authored
7 years ago
by
XhmikosR
Browse files
Options
Download
Email Patches
Plain Diff
sw.js: fix TypeError with new workbox.
parent
7dc41e29
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sw.js
+3
-2
sw.js
with
3 additions
and
2 deletions
+3
-2
sw.js
+
3
-
2
View file @
002cd8fc
/* global workbox:false */
self
.
importScripts
(
'
/assets/js/vendor/{fileName}
'
)
const
workboxSW
=
new
self
.
WorkboxSW
()
workboxSW
.
precaching
.
precacheAndRoute
([])
workbox
.
precaching
.
precacheAndRoute
([])
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment