Skip to content

Instantly share code, notes, and snippets.

[
{
"type": "storm",
"checklist": [
"Stay inside during thunderstorms",
"Have a safety kit (flashlights, batteries, first aid)",
"Keep an eye on local weather developments, and act appropriately, according to the information you receive on the conditions.",
"Close curtains and blinds, try to stay away from windows.",
"If caught outside find safe shelter away from trees, power lines, storm water drains and streams.",
"Unplug electrical appliances and avoid using landline telephones if there is lightning.",
// jQuery Mask Plugin v1.14.15
// github.com/igorescobar/jQuery-Mask-Plugin
var $jscomp={scope:{},findInternal:function(a,l,d){a instanceof String&&(a=String(a));for(var p=a.length,h=0;h<p;h++){var b=a[h];if(l.call(d,b,h,a))return{i:h,v:b}}return{i:-1,v:void 0}}};$jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(a,l,d){if(d.get||d.set)throw new TypeError("ES3 does not support getters and setters.");a!=Array.prototype&&a!=Object.prototype&&(a[l]=d.value)};
$jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,l,d,p){if(l){d=$jscomp.global;a=a.split(".");for(p=0;p<a.length-1;p++){var h=a[p];h in d||(d[h]={});d=d[h]}a=a[a.length-1];p=d[a];l=l(p);l!=p&&null!=l&&$jscomp.defineProperty(d,a,{configurable:!0,writable:!0,value:l})}};
$jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,d){return $jscomp.findInter
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Local Storage Lab</title>
<link rel="stylesheet" href="https://necolas.github.io/normalize.css/8.0.1/normalize.css">
<style>
body { padding: 20px; }
</style>
@vrufine
vrufine / st.js
Created March 29, 2022 13:08
sharethisjs 29/3/22
if (!Date.now) {
Date.now = function now() {
return new Date().getTime();
};
}
(function(funcName, baseObj) {
"use strict";
// The public function name defaults to window.docReady