From c56af689b0eeea83c18e35de481cc6f6dcccdb89 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Mon, 10 Aug 2020 22:15:32 +0000 Subject: [PATCH 1/2] Restyled by clang-format --- _webpushr.js | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/_webpushr.js b/_webpushr.js index c536b26..71d8c64 100644 --- a/_webpushr.js +++ b/_webpushr.js @@ -1,3 +1,14 @@ -(function(w,d, s, id){const _key='BOjC7TMLPxN8fSV99FAy_Kj-jUQ7WtPAek-ie26397IryGd56rnUz15hlDqTJXzr1o0Hty8g9gIIMQOjXTHGesU'; -if(typeof(w.webpushr)!=='undefined') return;w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js,fjs=d.getElementsByTagName(s)[0];js=d.createElement(s);js.id = id;js.src = "https://cdn.webpushr.com/app.min.js"; -fjs.parentNode.appendChild(js);}(window,document,'script','webpushr-jssdk'));webpushr('setup',{'key': _key}); +(function(w, d, s, id) { +const _key = + 'BOjC7TMLPxN8fSV99FAy_Kj-jUQ7WtPAek-ie26397IryGd56rnUz15hlDqTJXzr1o0Hty8g9gIIMQOjXTHGesU'; +if (typeof (w.webpushr) !== 'undefined') + return; +w.webpushr = w.webpushr || + function() { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; +var js, fjs = d.getElementsByTagName(s)[0]; +js = d.createElement(s); +js.id = id; +js.src = "https://cdn.webpushr.com/app.min.js"; +fjs.parentNode.appendChild(js); +}(window, document, 'script', 'webpushr-jssdk')); +webpushr('setup', {'key' : _key}); From d41f4e2bd2567493d848f4a72de8d71e5cbf749f Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Mon, 10 Aug 2020 22:15:33 +0000 Subject: [PATCH 2/2] Restyled by prettier --- _webpushr.js | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/_webpushr.js b/_webpushr.js index 71d8c64..2433e9d 100644 --- a/_webpushr.js +++ b/_webpushr.js @@ -1,14 +1,17 @@ -(function(w, d, s, id) { -const _key = - 'BOjC7TMLPxN8fSV99FAy_Kj-jUQ7WtPAek-ie26397IryGd56rnUz15hlDqTJXzr1o0Hty8g9gIIMQOjXTHGesU'; -if (typeof (w.webpushr) !== 'undefined') - return; -w.webpushr = w.webpushr || - function() { (w.webpushr.q = w.webpushr.q || []).push(arguments) }; -var js, fjs = d.getElementsByTagName(s)[0]; -js = d.createElement(s); -js.id = id; -js.src = "https://cdn.webpushr.com/app.min.js"; -fjs.parentNode.appendChild(js); -}(window, document, 'script', 'webpushr-jssdk')); -webpushr('setup', {'key' : _key}); +(function (w, d, s, id) { + const _key = + "BOjC7TMLPxN8fSV99FAy_Kj-jUQ7WtPAek-ie26397IryGd56rnUz15hlDqTJXzr1o0Hty8g9gIIMQOjXTHGesU"; + if (typeof w.webpushr !== "undefined") return; + w.webpushr = + w.webpushr || + function () { + (w.webpushr.q = w.webpushr.q || []).push(arguments); + }; + var js, + fjs = d.getElementsByTagName(s)[0]; + js = d.createElement(s); + js.id = id; + js.src = "https://cdn.webpushr.com/app.min.js"; + fjs.parentNode.appendChild(js); +})(window, document, "script", "webpushr-jssdk"); +webpushr("setup", { key: _key });