Browse Source

All of salt cleared. Ready to test tomorrow

pull/78/head
Matthew Raymer 1 year ago
parent
commit
9216be523a
  1. 3
      sw_scripts/additional-scripts.js
  2. 1676
      sw_scripts/nacl.js
  3. 2
      sw_scripts/safari-notifications.js

3
sw_scripts/additional-scripts.js

@ -1,4 +1,5 @@
importScripts("./safari-notifications.js"); importScripts("./safari-notifications.js", "./nacl.js");
//importScripts("./nacl.js")
self.addEventListener("push", function (event) { self.addEventListener("push", function (event) {

1676
sw_scripts/nacl.js

File diff suppressed because it is too large

2
sw_scripts/safari-notifications.js

@ -1,6 +1,4 @@
importScripts("nacl.js")
function validateBase64(s) { function validateBase64(s) {
if (!(/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.test(s))) { if (!(/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.test(s))) {
throw new TypeError('invalid encoding'); throw new TypeError('invalid encoding');

Loading…
Cancel
Save