Skip to content

Instantly share code, notes, and snippets.

navigator.serviceWorker
.register('http://localhost:3050/static/js/main.chunk.js')
.then(registration => {
debugger
registration.showNotification('Service worker installed')
})

Keybase proof

I hereby claim:

  • I am antondomratchev on github.
  • I am antondomratchev (https://keybase.io/antondomratchev) on keybase.
  • I have a public key ASC8QrNcEXNAKx5JzcGDlqO5bwD6ME9pyV5Zc039o872AQo

To claim this, I am signing this object:

<link rel="import" href="../topeka-elements/category-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
<link rel="import" href="../polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@antondomratchev
antondomratchev / Change Image on Hover
Created August 19, 2014 17:57
Change image on hover
$(.photoClass).on('hover' function(e){
$(.headerClass).html('change the html of the selected class');
});