This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
var request = window.indexedDB.open("service-worker", 1); | |
request.onerror = function (event) { | |
console.error('failed to open service-worker database', request.errorCode); | |
}; | |
request.onsuccess = function (event) { | |
var db = event.target.result; | |
var transaction = db.transaction(['state'], 'readwrite'); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<h1>Hello World</h1> | |
<p>This is a test of an html file as a gist</p> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
Copyright 2016 Google Inc. All rights reserved. | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*** | |
* Copyright (c) 2016 Alex Grant (@localnerve), LocalNerve LLC | |
* Copyrights licensed under the BSD License. See the accompanying LICENSE file for terms. | |
*/ | |
import gulp from 'gulp'; | |
import gulpSvgmin from 'gulp-svgmin'; | |
import gulpSass from 'gulp-sass'; | |
import gulpPostcss from 'gulp-postcss'; | |
import gulpIf from 'gulp-if'; | |
import gulpCssmin from 'gulp-cssmin'; |
OlderNewer