├── .eslintignore ├── .eslintrc ├── .gitignore ├── LICENSE ├── README.md ├── docs ├── _config.yml ├── _data │ └── releases.yml ├── index.md ├── jekyll-theme │ ├── _includes │ │ ├── components │ │ │ ├── footer.html │ │ │ ├── nav-drawer-docs-entry.html │ │ │ ├── nav-drawer.html │ │ │ └── site-header.html │ │ ├── html-head.html │ │ ├── svgs │ │ │ ├── github.svg │ │ │ ├── gplus.svg │ │ │ ├── menu.svg │ │ │ └── twitter.svg │ │ └── variables.html │ ├── _layouts │ │ ├── default.html │ │ ├── index.html │ │ └── jsdoc.html │ ├── scripts │ │ ├── detabinator.js │ │ └── side-nav.js │ ├── styles │ │ ├── components │ │ │ ├── code-styles.css │ │ │ ├── footer.css │ │ │ ├── nav-drawer.css │ │ │ ├── page-header.css │ │ │ └── site-header.css │ │ ├── jsdoc │ │ │ ├── details.css │ │ │ └── method.css │ │ ├── main.css │ │ └── variables │ │ │ ├── colors.css │ │ │ └── dimens.css │ └── third_party │ │ └── prism │ │ ├── prism.css │ │ └── prism.js └── reference-docs │ ├── master │ ├── AutomatedBrowserTesting.html │ ├── MochaUtils.html │ ├── SWUtils.html │ ├── TestServer.html │ ├── WebDriverBrowser.html │ ├── WindowUtils.html │ ├── browser_sw-utils.js.html │ ├── browser_window-utils.js.html │ ├── fonts │ │ ├── OpenSans-Bold-webfont.eot │ │ ├── OpenSans-Bold-webfont.svg │ │ ├── OpenSans-Bold-webfont.woff │ │ ├── OpenSans-BoldItalic-webfont.eot │ │ ├── OpenSans-BoldItalic-webfont.svg │ │ ├── OpenSans-BoldItalic-webfont.woff │ │ ├── OpenSans-Italic-webfont.eot │ │ ├── OpenSans-Italic-webfont.svg │ │ ├── OpenSans-Italic-webfont.woff │ │ ├── OpenSans-Light-webfont.eot │ │ ├── OpenSans-Light-webfont.svg │ │ ├── OpenSans-Light-webfont.woff │ │ ├── OpenSans-LightItalic-webfont.eot │ │ ├── OpenSans-LightItalic-webfont.svg │ │ ├── OpenSans-LightItalic-webfont.woff │ │ ├── OpenSans-Regular-webfont.eot │ │ ├── OpenSans-Regular-webfont.svg │ │ └── OpenSans-Regular-webfont.woff │ ├── global.html │ ├── index.html │ ├── index.js.html │ ├── mocha_utils.js.html │ ├── module-sw-testing-helpers.html │ ├── node_automated-browser-testing.js.html │ ├── node_test-server.js.html │ ├── node_webdriver-browser_web-driver-browser.js.html │ ├── scripts │ │ ├── linenumber.js │ │ └── prettify │ │ │ ├── Apache-License-2.0.txt │ │ │ ├── lang-css.js │ │ │ └── prettify.js │ ├── styles │ │ ├── jsdoc-default.css │ │ ├── prettify-jsdoc.css │ │ └── prettify-tomorrow.css │ └── utils_mocha.js.html │ └── stable │ ├── v0.0.10 │ ├── WindowUtils.html │ ├── browser_sw-utils.js.html │ ├── browser_window-utils.js.html │ ├── fonts │ │ ├── OpenSans-Bold-webfont.eot │ │ ├── OpenSans-Bold-webfont.svg │ │ ├── OpenSans-Bold-webfont.woff │ │ ├── OpenSans-BoldItalic-webfont.eot │ │ ├── OpenSans-BoldItalic-webfont.svg │ │ ├── OpenSans-BoldItalic-webfont.woff │ │ ├── OpenSans-Italic-webfont.eot │ │ ├── OpenSans-Italic-webfont.svg │ │ ├── OpenSans-Italic-webfont.woff │ │ ├── OpenSans-Light-webfont.eot │ │ ├── OpenSans-Light-webfont.svg │ │ ├── OpenSans-Light-webfont.woff │ │ ├── OpenSans-LightItalic-webfont.eot │ │ ├── OpenSans-LightItalic-webfont.svg │ │ ├── OpenSans-LightItalic-webfont.woff │ │ ├── OpenSans-Regular-webfont.eot │ │ ├── OpenSans-Regular-webfont.svg │ │ └── OpenSans-Regular-webfont.woff │ ├── global.html │ ├── index.html │ ├── mocha_utils.js.html │ ├── scripts │ │ ├── linenumber.js │ │ └── prettify │ │ │ ├── Apache-License-2.0.txt │ │ │ ├── lang-css.js │ │ │ └── prettify.js │ └── styles │ │ ├── jsdoc-default.css │ │ ├── prettify-jsdoc.css │ │ └── prettify-tomorrow.css │ ├── v0.0.11 │ ├── WindowUtils.html │ ├── browser_sw-utils.js.html │ ├── browser_window-utils.js.html │ ├── fonts │ │ ├── OpenSans-Bold-webfont.eot │ │ ├── OpenSans-Bold-webfont.svg │ │ ├── OpenSans-Bold-webfont.woff │ │ ├── OpenSans-BoldItalic-webfont.eot │ │ ├── OpenSans-BoldItalic-webfont.svg │ │ ├── OpenSans-BoldItalic-webfont.woff │ │ ├── OpenSans-Italic-webfont.eot │ │ ├── OpenSans-Italic-webfont.svg │ │ ├── OpenSans-Italic-webfont.woff │ │ ├── OpenSans-Light-webfont.eot │ │ ├── OpenSans-Light-webfont.svg │ │ ├── OpenSans-Light-webfont.woff │ │ ├── OpenSans-LightItalic-webfont.eot │ │ ├── OpenSans-LightItalic-webfont.svg │ │ ├── OpenSans-LightItalic-webfont.woff │ │ ├── OpenSans-Regular-webfont.eot │ │ ├── OpenSans-Regular-webfont.svg │ │ └── OpenSans-Regular-webfont.woff │ ├── global.html │ ├── index.html │ ├── mocha_utils.js.html │ ├── scripts │ │ ├── linenumber.js │ │ └── prettify │ │ │ ├── Apache-License-2.0.txt │ │ │ ├── lang-css.js │ │ │ └── prettify.js │ └── styles │ │ ├── jsdoc-default.css │ │ ├── prettify-jsdoc.css │ │ └── prettify-tomorrow.css │ ├── v0.0.12 │ ├── WindowUtils.html │ ├── browser_sw-utils.js.html │ ├── browser_window-utils.js.html │ ├── fonts │ │ ├── OpenSans-Bold-webfont.eot │ │ ├── OpenSans-Bold-webfont.svg │ │ ├── OpenSans-Bold-webfont.woff │ │ ├── OpenSans-BoldItalic-webfont.eot │ │ ├── OpenSans-BoldItalic-webfont.svg │ │ ├── OpenSans-BoldItalic-webfont.woff │ │ ├── OpenSans-Italic-webfont.eot │ │ ├── OpenSans-Italic-webfont.svg │ │ ├── OpenSans-Italic-webfont.woff │ │ ├── OpenSans-Light-webfont.eot │ │ ├── OpenSans-Light-webfont.svg │ │ ├── OpenSans-Light-webfont.woff │ │ ├── OpenSans-LightItalic-webfont.eot │ │ ├── OpenSans-LightItalic-webfont.svg │ │ ├── OpenSans-LightItalic-webfont.woff │ │ ├── OpenSans-Regular-webfont.eot │ │ ├── OpenSans-Regular-webfont.svg │ │ └── OpenSans-Regular-webfont.woff │ ├── global.html │ ├── index.html │ ├── mocha_utils.js.html │ ├── scripts │ │ ├── linenumber.js │ │ └── prettify │ │ │ ├── Apache-License-2.0.txt │ │ │ ├── lang-css.js │ │ │ └── prettify.js │ └── styles │ │ ├── jsdoc-default.css │ │ ├── prettify-jsdoc.css │ │ └── prettify-tomorrow.css │ ├── v0.0.13 │ ├── WindowUtils.html │ ├── browser_sw-utils.js.html │ ├── browser_window-utils.js.html │ ├── fonts │ │ ├── OpenSans-Bold-webfont.eot │ │ ├── OpenSans-Bold-webfont.svg │ │ ├── OpenSans-Bold-webfont.woff │ │ ├── OpenSans-BoldItalic-webfont.eot │ │ ├── OpenSans-BoldItalic-webfont.svg │ │ ├── OpenSans-BoldItalic-webfont.woff │ │ ├── OpenSans-Italic-webfont.eot │ │ ├── OpenSans-Italic-webfont.svg │ │ ├── OpenSans-Italic-webfont.woff │ │ ├── OpenSans-Light-webfont.eot │ │ ├── OpenSans-Light-webfont.svg │ │ ├── OpenSans-Light-webfont.woff │ │ ├── OpenSans-LightItalic-webfont.eot │ │ ├── OpenSans-LightItalic-webfont.svg │ │ ├── OpenSans-LightItalic-webfont.woff │ │ ├── OpenSans-Regular-webfont.eot │ │ ├── OpenSans-Regular-webfont.svg │ │ └── OpenSans-Regular-webfont.woff │ ├── global.html │ ├── index.html │ ├── mocha_utils.js.html │ ├── scripts │ │ ├── linenumber.js │ │ └── prettify │ │ │ ├── Apache-License-2.0.txt │ │ │ ├── lang-css.js │ │ │ └── prettify.js │ └── styles │ │ ├── jsdoc-default.css │ │ ├── prettify-jsdoc.css │ │ └── prettify-tomorrow.css │ ├── v0.0.14 │ ├── AutomatedBrowserTesting.html │ ├── MochaUtils.html │ ├── SWUtils.html │ ├── TestServer.html │ ├── WebDriverBrowser.html │ ├── WindowUtils.html │ ├── browser_sw-utils.js.html │ ├── browser_window-utils.js.html │ ├── fonts │ │ ├── OpenSans-Bold-webfont.eot │ │ ├── OpenSans-Bold-webfont.svg │ │ ├── OpenSans-Bold-webfont.woff │ │ ├── OpenSans-BoldItalic-webfont.eot │ │ ├── OpenSans-BoldItalic-webfont.svg │ │ ├── OpenSans-BoldItalic-webfont.woff │ │ ├── OpenSans-Italic-webfont.eot │ │ ├── OpenSans-Italic-webfont.svg │ │ ├── OpenSans-Italic-webfont.woff │ │ ├── OpenSans-Light-webfont.eot │ │ ├── OpenSans-Light-webfont.svg │ │ ├── OpenSans-Light-webfont.woff │ │ ├── OpenSans-LightItalic-webfont.eot │ │ ├── OpenSans-LightItalic-webfont.svg │ │ ├── OpenSans-LightItalic-webfont.woff │ │ ├── OpenSans-Regular-webfont.eot │ │ ├── OpenSans-Regular-webfont.svg │ │ └── OpenSans-Regular-webfont.woff │ ├── global.html │ ├── index.html │ ├── index.js.html │ ├── module-sw-testing-helpers.html │ ├── node_automated-browser-testing.js.html │ ├── node_test-server.js.html │ ├── node_webdriver-browser_web-driver-browser.js.html │ ├── scripts │ │ ├── linenumber.js │ │ └── prettify │ │ │ ├── Apache-License-2.0.txt │ │ │ ├── lang-css.js │ │ │ └── prettify.js │ ├── styles │ │ ├── jsdoc-default.css │ │ ├── prettify-jsdoc.css │ │ └── prettify-tomorrow.css │ ├── sw-testing-helpers.html │ └── utils_mocha.js.html │ ├── v0.0.15 │ ├── AutomatedBrowserTesting.html │ ├── MochaUtils.html │ ├── SWUtils.html │ ├── TestServer.html │ ├── WebDriverBrowser.html │ ├── browser_sw-utils.js.html │ ├── fonts │ │ ├── OpenSans-Bold-webfont.eot │ │ ├── OpenSans-Bold-webfont.svg │ │ ├── OpenSans-Bold-webfont.woff │ │ ├── OpenSans-BoldItalic-webfont.eot │ │ ├── OpenSans-BoldItalic-webfont.svg │ │ ├── OpenSans-BoldItalic-webfont.woff │ │ ├── OpenSans-Italic-webfont.eot │ │ ├── OpenSans-Italic-webfont.svg │ │ ├── OpenSans-Italic-webfont.woff │ │ ├── OpenSans-Light-webfont.eot │ │ ├── OpenSans-Light-webfont.svg │ │ ├── OpenSans-Light-webfont.woff │ │ ├── OpenSans-LightItalic-webfont.eot │ │ ├── OpenSans-LightItalic-webfont.svg │ │ ├── OpenSans-LightItalic-webfont.woff │ │ ├── OpenSans-Regular-webfont.eot │ │ ├── OpenSans-Regular-webfont.svg │ │ └── OpenSans-Regular-webfont.woff │ ├── global.html │ ├── index.html │ ├── index.js.html │ ├── module-sw-testing-helpers.html │ ├── node_automated-browser-testing.js.html │ ├── node_test-server.js.html │ ├── node_webdriver-browser_web-driver-browser.js.html │ ├── scripts │ │ ├── linenumber.js │ │ └── prettify │ │ │ ├── Apache-License-2.0.txt │ │ │ ├── lang-css.js │ │ │ └── prettify.js │ ├── styles │ │ ├── jsdoc-default.css │ │ ├── prettify-jsdoc.css │ │ └── prettify-tomorrow.css │ └── utils_mocha.js.html │ ├── v0.0.7 │ ├── WindowUtils.html │ ├── browser_sw-utils.js.html │ ├── browser_window-utils.js.html │ ├── fonts │ │ ├── OpenSans-Bold-webfont.eot │ │ ├── OpenSans-Bold-webfont.svg │ │ ├── OpenSans-Bold-webfont.woff │ │ ├── OpenSans-BoldItalic-webfont.eot │ │ ├── OpenSans-BoldItalic-webfont.svg │ │ ├── OpenSans-BoldItalic-webfont.woff │ │ ├── OpenSans-Italic-webfont.eot │ │ ├── OpenSans-Italic-webfont.svg │ │ ├── OpenSans-Italic-webfont.woff │ │ ├── OpenSans-Light-webfont.eot │ │ ├── OpenSans-Light-webfont.svg │ │ ├── OpenSans-Light-webfont.woff │ │ ├── OpenSans-LightItalic-webfont.eot │ │ ├── OpenSans-LightItalic-webfont.svg │ │ ├── OpenSans-LightItalic-webfont.woff │ │ ├── OpenSans-Regular-webfont.eot │ │ ├── OpenSans-Regular-webfont.svg │ │ └── OpenSans-Regular-webfont.woff │ ├── global.html │ ├── index.html │ ├── mocha_utils.js.html │ ├── scripts │ │ ├── linenumber.js │ │ └── prettify │ │ │ ├── Apache-License-2.0.txt │ │ │ ├── lang-css.js │ │ │ └── prettify.js │ └── styles │ │ ├── jsdoc-default.css │ │ ├── prettify-jsdoc.css │ │ └── prettify-tomorrow.css │ ├── v0.0.8 │ ├── WindowUtils.html │ ├── browser_sw-utils.js.html │ ├── browser_window-utils.js.html │ ├── fonts │ │ ├── OpenSans-Bold-webfont.eot │ │ ├── OpenSans-Bold-webfont.svg │ │ ├── OpenSans-Bold-webfont.woff │ │ ├── OpenSans-BoldItalic-webfont.eot │ │ ├── OpenSans-BoldItalic-webfont.svg │ │ ├── OpenSans-BoldItalic-webfont.woff │ │ ├── OpenSans-Italic-webfont.eot │ │ ├── OpenSans-Italic-webfont.svg │ │ ├── OpenSans-Italic-webfont.woff │ │ ├── OpenSans-Light-webfont.eot │ │ ├── OpenSans-Light-webfont.svg │ │ ├── OpenSans-Light-webfont.woff │ │ ├── OpenSans-LightItalic-webfont.eot │ │ ├── OpenSans-LightItalic-webfont.svg │ │ ├── OpenSans-LightItalic-webfont.woff │ │ ├── OpenSans-Regular-webfont.eot │ │ ├── OpenSans-Regular-webfont.svg │ │ └── OpenSans-Regular-webfont.woff │ ├── global.html │ ├── index.html │ ├── mocha_utils.js.html │ ├── scripts │ │ ├── linenumber.js │ │ └── prettify │ │ │ ├── Apache-License-2.0.txt │ │ │ ├── lang-css.js │ │ │ └── prettify.js │ └── styles │ │ ├── jsdoc-default.css │ │ ├── prettify-jsdoc.css │ │ └── prettify-tomorrow.css │ ├── v0.0.9 │ ├── WindowUtils.html │ ├── browser_sw-utils.js.html │ ├── browser_window-utils.js.html │ ├── fonts │ │ ├── OpenSans-Bold-webfont.eot │ │ ├── OpenSans-Bold-webfont.svg │ │ ├── OpenSans-Bold-webfont.woff │ │ ├── OpenSans-BoldItalic-webfont.eot │ │ ├── OpenSans-BoldItalic-webfont.svg │ │ ├── OpenSans-BoldItalic-webfont.woff │ │ ├── OpenSans-Italic-webfont.eot │ │ ├── OpenSans-Italic-webfont.svg │ │ ├── OpenSans-Italic-webfont.woff │ │ ├── OpenSans-Light-webfont.eot │ │ ├── OpenSans-Light-webfont.svg │ │ ├── OpenSans-Light-webfont.woff │ │ ├── OpenSans-LightItalic-webfont.eot │ │ ├── OpenSans-LightItalic-webfont.svg │ │ ├── OpenSans-LightItalic-webfont.woff │ │ ├── OpenSans-Regular-webfont.eot │ │ ├── OpenSans-Regular-webfont.svg │ │ └── OpenSans-Regular-webfont.woff │ ├── global.html │ ├── index.html │ ├── mocha_utils.js.html │ ├── scripts │ │ ├── linenumber.js │ │ └── prettify │ │ │ ├── Apache-License-2.0.txt │ │ │ ├── lang-css.js │ │ │ └── prettify.js │ └── styles │ │ ├── jsdoc-default.css │ │ ├── prettify-jsdoc.css │ │ └── prettify-tomorrow.css │ ├── v0.1.0 │ ├── AutomatedBrowserTesting.html │ ├── MochaUtils.html │ ├── SWUtils.html │ ├── TestServer.html │ ├── WebDriverBrowser.html │ ├── browser_sw-utils.js.html │ ├── fonts │ │ ├── OpenSans-Bold-webfont.eot │ │ ├── OpenSans-Bold-webfont.svg │ │ ├── OpenSans-Bold-webfont.woff │ │ ├── OpenSans-BoldItalic-webfont.eot │ │ ├── OpenSans-BoldItalic-webfont.svg │ │ ├── OpenSans-BoldItalic-webfont.woff │ │ ├── OpenSans-Italic-webfont.eot │ │ ├── OpenSans-Italic-webfont.svg │ │ ├── OpenSans-Italic-webfont.woff │ │ ├── OpenSans-Light-webfont.eot │ │ ├── OpenSans-Light-webfont.svg │ │ ├── OpenSans-Light-webfont.woff │ │ ├── OpenSans-LightItalic-webfont.eot │ │ ├── OpenSans-LightItalic-webfont.svg │ │ ├── OpenSans-LightItalic-webfont.woff │ │ ├── OpenSans-Regular-webfont.eot │ │ ├── OpenSans-Regular-webfont.svg │ │ └── OpenSans-Regular-webfont.woff │ ├── global.html │ ├── index.html │ ├── index.js.html │ ├── module-sw-testing-helpers.html │ ├── node_automated-browser-testing.js.html │ ├── node_test-server.js.html │ ├── node_webdriver-browser_web-driver-browser.js.html │ ├── scripts │ │ ├── linenumber.js │ │ └── prettify │ │ │ ├── Apache-License-2.0.txt │ │ │ ├── lang-css.js │ │ │ └── prettify.js │ ├── styles │ │ ├── jsdoc-default.css │ │ ├── prettify-jsdoc.css │ │ └── prettify-tomorrow.css │ └── utils_mocha.js.html │ ├── v0.1.1 │ ├── AutomatedBrowserTesting.html │ ├── MochaUtils.html │ ├── SWUtils.html │ ├── TestServer.html │ ├── WebDriverBrowser.html │ ├── browser_sw-utils.js.html │ ├── fonts │ │ ├── OpenSans-Bold-webfont.eot │ │ ├── OpenSans-Bold-webfont.svg │ │ ├── OpenSans-Bold-webfont.woff │ │ ├── OpenSans-BoldItalic-webfont.eot │ │ ├── OpenSans-BoldItalic-webfont.svg │ │ ├── OpenSans-BoldItalic-webfont.woff │ │ ├── OpenSans-Italic-webfont.eot │ │ ├── OpenSans-Italic-webfont.svg │ │ ├── OpenSans-Italic-webfont.woff │ │ ├── OpenSans-Light-webfont.eot │ │ ├── OpenSans-Light-webfont.svg │ │ ├── OpenSans-Light-webfont.woff │ │ ├── OpenSans-LightItalic-webfont.eot │ │ ├── OpenSans-LightItalic-webfont.svg │ │ ├── OpenSans-LightItalic-webfont.woff │ │ ├── OpenSans-Regular-webfont.eot │ │ ├── OpenSans-Regular-webfont.svg │ │ └── OpenSans-Regular-webfont.woff │ ├── global.html │ ├── index.html │ ├── index.js.html │ ├── module-sw-testing-helpers.html │ ├── node_automated-browser-testing.js.html │ ├── node_test-server.js.html │ ├── node_webdriver-browser_web-driver-browser.js.html │ ├── scripts │ │ ├── linenumber.js │ │ └── prettify │ │ │ ├── Apache-License-2.0.txt │ │ │ ├── lang-css.js │ │ │ └── prettify.js │ ├── styles │ │ ├── jsdoc-default.css │ │ ├── prettify-jsdoc.css │ │ └── prettify-tomorrow.css │ └── utils_mocha.js.html │ └── v0.1.4 │ ├── MochaUtils.html │ ├── SWUtils.html │ ├── TestServer.html │ ├── browser_sw-utils.js.html │ ├── fonts │ ├── OpenSans-Bold-webfont.eot │ ├── OpenSans-Bold-webfont.svg │ ├── OpenSans-Bold-webfont.woff │ ├── OpenSans-BoldItalic-webfont.eot │ ├── OpenSans-BoldItalic-webfont.svg │ ├── OpenSans-BoldItalic-webfont.woff │ ├── OpenSans-Italic-webfont.eot │ ├── OpenSans-Italic-webfont.svg │ ├── OpenSans-Italic-webfont.woff │ ├── OpenSans-Light-webfont.eot │ ├── OpenSans-Light-webfont.svg │ ├── OpenSans-Light-webfont.woff │ ├── OpenSans-LightItalic-webfont.eot │ ├── OpenSans-LightItalic-webfont.svg │ ├── OpenSans-LightItalic-webfont.woff │ ├── OpenSans-Regular-webfont.eot │ ├── OpenSans-Regular-webfont.svg │ └── OpenSans-Regular-webfont.woff │ ├── global.html │ ├── index.html │ ├── index.js.html │ ├── module-sw-testing-helpers.html │ ├── node_test-server.js.html │ ├── scripts │ ├── linenumber.js │ └── prettify │ │ ├── Apache-License-2.0.txt │ │ ├── lang-css.js │ │ └── prettify.js │ ├── styles │ ├── jsdoc-default.css │ ├── prettify-jsdoc.css │ └── prettify-tomorrow.css │ └── utils_mocha.js.html ├── gulp-tasks ├── clean.js ├── scripts.js └── test.js ├── gulpfile.js ├── jsdoc.conf ├── package.json ├── project └── copy-build-files.sh ├── src ├── browser │ ├── mocha-utils.js │ └── sw-utils.js ├── index.js ├── node │ └── test-server.js └── utils │ └── mocha.js └── test ├── .eslintrc ├── browser-tests.js ├── browser-tests ├── index.html └── window-utils │ ├── activate-sw.js │ ├── clean-state.js │ ├── clear-all-caches.js │ ├── controlled-by-sw.js │ ├── get-all-cached-assets.js │ ├── get-iframe.js │ ├── install-sw.js │ ├── library.js │ ├── run-sw-mocha-tests.js │ ├── serviceworkers │ ├── example-tests.js │ ├── immediate-control.js │ ├── sw-1.js │ ├── sw-2.js │ ├── sw-broken-install.js │ └── sw-no-tests.js │ └── unregister-all-registrations.js ├── helpers └── download-test-browsers.js ├── node-tests.js └── node-tests ├── library.js └── node-server.js /.eslintignore: -------------------------------------------------------------------------------- 1 | docs/ 2 | node_modules/ 3 | build/ 4 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["eslint:recommended", "google"], 3 | "env": { 4 | "es6": true 5 | }, 6 | "rules": { 7 | "comma-dangle": 0, 8 | "arrow-parens": 0 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | tagged-release/ 3 | npm-debug.log 4 | build/ 5 | .sass-cache/ 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

sw-testing-helpers

2 | 3 |

4 | 5 | Travis Build Status 6 | 7 | 8 | David Dependency Status 9 | 10 | 11 | David Dev Dependency Status 12 | 13 |

14 | 15 |

16 | Testing service workers is a new space and this module is the result of some 17 | exploration in this space. 18 |

19 | 20 |

21 | You can find docs here. 22 |

23 | 24 | ## License 25 | 26 | Copyright 2015 Google, Inc. 27 | 28 | Licensed under the [Apache License, Version 2.0](LICENSE) (the "License"); 29 | you may not use this file except in compliance with the License. You may 30 | obtain a copy of the License at 31 | 32 | http://www.apache.org/licenses/LICENSE-2.0 33 | 34 | Unless required by applicable law or agreed to in writing, software 35 | distributed under the License is distributed on an "AS IS" BASIS, 36 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 37 | See the License for the specific language governing permissions and 38 | limitations under the License. 39 | -------------------------------------------------------------------------------- /docs/_config.yml: -------------------------------------------------------------------------------- 1 | source: . 2 | layouts_dir: ./jekyll-theme/_layouts/ 3 | includes_dir: ./jekyll-theme/_includes/ 4 | -------------------------------------------------------------------------------- /docs/_data/releases.yml: -------------------------------------------------------------------------------- 1 | # Auto-generated from the npm-publish-scripts module 2 | stable: 3 | latest: /reference-docs/stable/v0.1.4 4 | all: 5 | - /reference-docs/stable/v0.1.4 6 | - /reference-docs/stable/v0.1.1 7 | - /reference-docs/stable/v0.1.0 8 | - /reference-docs/stable/v0.0.9 9 | - /reference-docs/stable/v0.0.8 10 | - /reference-docs/stable/v0.0.7 11 | - /reference-docs/stable/v0.0.15 12 | - /reference-docs/stable/v0.0.14 13 | - /reference-docs/stable/v0.0.13 14 | - /reference-docs/stable/v0.0.12 15 | - /reference-docs/stable/v0.0.11 16 | - /reference-docs/stable/v0.0.10 17 | other: 18 | - /reference-docs/master 19 | -------------------------------------------------------------------------------- /docs/jekyll-theme/_includes/components/footer.html: -------------------------------------------------------------------------------- 1 | 28 | -------------------------------------------------------------------------------- /docs/jekyll-theme/_includes/components/nav-drawer-docs-entry.html: -------------------------------------------------------------------------------- 1 | {% if include.docsPath %} 2 | {% capture docsUrl %}{{ project_root_url }}{{ include.docsPath }}{% endcapture %} 3 |
  • 4 | 5 | {{ include.text }} 6 | 7 |
  • 8 | 9 | {% capture filename %}{{ page.url | split: "/" | last }}{% endcapture %} 10 | {% capture currentUrl %}{{ page.url | remove: filename | remove: "//" }}{% endcapture %} 11 | {% capture filteredDocsUrl %}{{ docsUrl | append: "/" }}{% endcapture %} 12 | 13 | {% if filteredDocsUrl == currentUrl and page.jsdocNav %} 14 |
  • 15 | 29 |
  • 30 | {% endif %} 31 | {% endif %} 32 | -------------------------------------------------------------------------------- /docs/jekyll-theme/_includes/components/nav-drawer.html: -------------------------------------------------------------------------------- 1 | {% include variables.html %} 2 | 32 | -------------------------------------------------------------------------------- /docs/jekyll-theme/_includes/components/site-header.html: -------------------------------------------------------------------------------- 1 | 16 | -------------------------------------------------------------------------------- /docs/jekyll-theme/_includes/html-head.html: -------------------------------------------------------------------------------- 1 | {% include variables.html %} 2 | 3 | 4 | 5 | 6 | 7 | {% if page.title %}{{ page.title | escape }}{% else %}{{ project_title | escape }}{% endif %} 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | {% if page.layout == 'jsdoc' %} 18 | 19 | 20 | {% endif %} 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /docs/jekyll-theme/_includes/svgs/github.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Shape 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/jekyll-theme/_includes/svgs/gplus.svg: -------------------------------------------------------------------------------- 1 | 2 | image/svg+xml -------------------------------------------------------------------------------- /docs/jekyll-theme/_includes/svgs/menu.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /docs/jekyll-theme/_includes/svgs/twitter.svg: -------------------------------------------------------------------------------- 1 | 2 | image/svg+xml -------------------------------------------------------------------------------- /docs/jekyll-theme/_includes/variables.html: -------------------------------------------------------------------------------- 1 | {% if site.data.customize.project_title %} 2 | {% assign project_title = site.data.customize.project_title %} 3 | {% elsif site.github.project_title %} 4 | {% assign project_title = site.github.project_title %} 5 | {% endif %} 6 | 7 | {% if jekyll.environment == 'development' %} 8 | {% assign project_root_url = '' %} 9 | {% else %} 10 | {% assign project_root_url = site.github.url | replace: 'http://', '//'%} 11 | {% endif %} 12 | 13 | {% if site.data.customize.project_owner %} 14 | {% assign project_owner = site.data.customize.project_owner %} 15 | {% assign project_owner_url = site.data.customize.project_owner_url %} 16 | {% elsif site.github.owner_name %} 17 | {% assign project_owner = site.github.owner_name %} 18 | {% assign project_owner_url = site.github.owner_url %} 19 | {% endif %} 20 | 21 | {% if site.data.customize.project_tagline %} 22 | {% assign project_tagline = site.data.customize.project_tagline %} 23 | {% elsif site.github.project_tagline %} 24 | {% assign project_tagline = site.github.project_tagline %} 25 | {% endif %} 26 | -------------------------------------------------------------------------------- /docs/jekyll-theme/_layouts/default.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {% include html-head.html %} 5 | 6 | 7 | 8 | {{ content }} 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/jekyll-theme/_layouts/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | --- 4 | {% include variables.html %} 5 | 6 | {% include components/site-header.html title=project_title subtitle=project_tagline %} 7 | 8 | {% include components/nav-drawer.html %} 9 | 10 |
    11 | {{ content }} 12 |
    13 | 14 | {% include components/footer.html made_by='variables.project_owner' made_by_url='varaibles.project_owner_url' %} 15 | -------------------------------------------------------------------------------- /docs/jekyll-theme/_layouts/jsdoc.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | --- 4 | {% include variables.html %} 5 | 6 | {% include components/site-header.html title=project_title subtitle=project_tagline %} 7 | 8 | {% include components/nav-drawer.html %} 9 | 10 |
    11 | {{ content }} 12 |
    13 | 14 | {% include components/footer.html made_by='variables.project_owner' made_by_url='varaibles.project_owner_url' %} 15 | -------------------------------------------------------------------------------- /docs/jekyll-theme/scripts/detabinator.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Copyright 2016 Google Inc. All rights reserved. 4 | * 5 | * Licensed under the Apache License, Version 2.0 (the "License"); 6 | * you may not use this file except in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | 19 | /** 20 | * Usage: 21 | * const detabinator = new Detabinator(element); 22 | * detabinator.inert = true; // Sets all focusable children of element to tabindex=-1 23 | * detabinator.inert = false; // Restores all focusable children of element 24 | * Limitations: Doesn't support Shadow DOM v0 :P 25 | */ 26 | 27 | class Detabinator { 28 | constructor(element) { 29 | if (!element) { 30 | throw new Error('Missing required argument. new Detabinator needs an element reference'); 31 | } 32 | this._inert = false; 33 | this._focusableElementsString = 'a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex], [contenteditable]'; 34 | this._focusableElements = Array.from( 35 | element.querySelectorAll(this._focusableElementsString) 36 | ); 37 | } 38 | 39 | get inert() { 40 | return this._inert; 41 | } 42 | 43 | set inert(isInert) { 44 | if (this._inert === isInert) { 45 | return; 46 | } 47 | 48 | this._inert = isInert; 49 | 50 | this._focusableElements.forEach((child) => { 51 | if (isInert) { 52 | // If the child has an explict tabindex save it 53 | if (child.hasAttribute('tabindex')) { 54 | child.__savedTabindex = child.tabIndex; 55 | } 56 | // Set ALL focusable children to tabindex -1 57 | child.setAttribute('tabindex', -1); 58 | } else { 59 | // If the child has a saved tabindex, restore it 60 | // Because the value could be 0, explicitly check that it's not false 61 | if (child.__savedTabindex === 0 || child.__savedTabindex) { 62 | return child.setAttribute('tabindex', child.__savedTabindex); 63 | } else { 64 | // Remove tabindex from ANY REMAINING children 65 | child.removeAttribute('tabindex'); 66 | } 67 | } 68 | }); 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /docs/jekyll-theme/styles/components/code-styles.css: -------------------------------------------------------------------------------- 1 | code[class*=language-],pre[class*=language-]{color:#000;background:none;text-shadow:0 1px #fff;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-]::-moz-selection,code[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-]::selection,code[class*=language-] ::selection,pre[class*=language-]::selection,pre[class*=language-] ::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#a67f59;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}figure.highlight{margin:0}code,code[class*=language-],pre,pre[class*=language-]{background-color:rgba(0,0,0,.06);border-radius:3px;white-space:pre-wrap;text-shadow:none}pre,pre[class*=language-]{padding:16px}code,code[class*=language-]{display:inline-block;font-size:12px}code[class*=language-],pre[class*=language-]{color:rgba(0,0,0,.87)}code:after,code:before,code[class*=language-]:after,code[class*=language-]:before{letter-spacing:-.2em;content:"\00a0"}pre[class*=language-] code[class*=language-],pre code{width:100%;font-size:inherit;background-color:transparent;padding:0;box-sizing:border-box;word-break:break-word}pre code:after,pre code:before{content:none}.token.attr-name,.token.builtin,.token.selector,.token.string{color:#e91e63}.token.boolean,.token.constant,.token.number,.token.property,.token.symbol,.token.tag{color:#9d1db3}.token.atrule,.token.attr-value,.token.keyword{color:#00bcd4}.token.cr:before,.token.lf:before{display:none}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url,.token.variable{color:#9d1db3;background:none}.token.function{color:#009688} -------------------------------------------------------------------------------- /docs/jekyll-theme/styles/components/footer.css: -------------------------------------------------------------------------------- 1 | footer{height:120px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:center;justify-content:center;background-color:#212121;color:#757575;padding:32px 40px;font-size:12px}footer a{color:inherit;text-decoration:none}footer .footer-links,footer .social-btns{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;list-style:none;padding:0;margin:14px 0}footer .social-btn{margin:0 40px}footer .social-btn>svg{width:24px;height:24px} -------------------------------------------------------------------------------- /docs/jekyll-theme/styles/components/nav-drawer.css: -------------------------------------------------------------------------------- 1 | .side-nav{position:fixed;left:0;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none}.side-nav--visible{pointer-events:auto}.side-nav:before{content:'';display:block;position:absolute;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.4);opacity:0;will-change:opacity;transition:opacity .3s cubic-bezier(0,0,.3,1)}.side-nav__container{position:relative;width:90%;max-width:260px;background:#fff;height:100%;box-shadow:2px 0 12px rgba(0,0,0,.4);transform:translateX(-102%);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;will-change:transform}.side-nav--animatable .side-nav__container{transition:transform .13s cubic-bezier(0,0,.3,1)}.side-nav--visible.side-nav--animatable .side-nav__container{transition:transform .33s cubic-bezier(0,0,.3,1)}.side-nav--visible:before{opacity:1}.side-nav--visible .side-nav__container{transform:none}.side-nav__hide{position:absolute;left:16px;top:16px;background:none;border:none;color:#fff;width:24px;height:24px;padding:0;margin:0} -------------------------------------------------------------------------------- /docs/jekyll-theme/styles/components/page-header.css: -------------------------------------------------------------------------------- 1 | .page-header{height:64px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;background-color:#37474f;color:#fff;padding:0}.page-header .menu-btn{width:64px;height:64px;min-width:auto;background:none;border:none;padding:20px}.page-header .menu-btn svg{width:24px;height:24px}.page-header h1{width:100%;font-size:13px;line-height:64px;margin:0;padding-right:40px} -------------------------------------------------------------------------------- /docs/jekyll-theme/styles/components/site-header.css: -------------------------------------------------------------------------------- 1 | .site-header{height:288px;position:relative;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;background-color:#37474f;color:#fff;padding:0}.site-header,.site-header__heading{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.site-header__heading{text-align:center}.site-header__heading h1,.site-header__heading h2{margin:0;padding:0}.site-header__heading h2{opacity:.6}.site-header .menu-btn{position:absolute;top:0;left:0;width:64px;height:64px;min-width:auto;background:none;border:none;padding:20px}.site-header .menu-btn svg{width:24px;height:24px} -------------------------------------------------------------------------------- /docs/jekyll-theme/styles/jsdoc/details.css: -------------------------------------------------------------------------------- 1 | .is-jsdoc-page .details dd,.is-jsdoc-page .details dt{display:inline-block;margin:0}.is-jsdoc-page .details dd ul{list-style:none;margin:0;padding:0} -------------------------------------------------------------------------------- /docs/jekyll-theme/styles/jsdoc/method.css: -------------------------------------------------------------------------------- 1 | .jsdoc-method p{margin-bottom:8px}.jsdoc-params-heading,.jsdoc-returns-heading{margin:0;padding:8px;background-color:#37474f;color:#fff}.jsdoc-method{margin-bottom:64px} -------------------------------------------------------------------------------- /docs/jekyll-theme/styles/variables/colors.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/jekyll-theme/styles/variables/colors.css -------------------------------------------------------------------------------- /docs/jekyll-theme/styles/variables/dimens.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/jekyll-theme/styles/variables/dimens.css -------------------------------------------------------------------------------- /docs/jekyll-theme/third_party/prism/prism.css: -------------------------------------------------------------------------------- 1 | code[class*=language-],pre[class*=language-]{color:#000;background:none;text-shadow:0 1px #fff;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-]::-moz-selection,code[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-]::selection,code[class*=language-] ::selection,pre[class*=language-]::selection,pre[class*=language-] ::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#a67f59;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help} -------------------------------------------------------------------------------- /docs/reference-docs/master/fonts/OpenSans-Bold-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/master/fonts/OpenSans-Bold-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/master/fonts/OpenSans-Bold-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/master/fonts/OpenSans-Bold-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/master/fonts/OpenSans-BoldItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/master/fonts/OpenSans-BoldItalic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/master/fonts/OpenSans-BoldItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/master/fonts/OpenSans-BoldItalic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/master/fonts/OpenSans-Italic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/master/fonts/OpenSans-Italic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/master/fonts/OpenSans-Italic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/master/fonts/OpenSans-Italic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/master/fonts/OpenSans-Light-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/master/fonts/OpenSans-Light-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/master/fonts/OpenSans-Light-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/master/fonts/OpenSans-Light-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/master/fonts/OpenSans-LightItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/master/fonts/OpenSans-LightItalic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/master/fonts/OpenSans-LightItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/master/fonts/OpenSans-LightItalic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/master/fonts/OpenSans-Regular-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/master/fonts/OpenSans-Regular-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/master/fonts/OpenSans-Regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/master/fonts/OpenSans-Regular-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/master/scripts/linenumber.js: -------------------------------------------------------------------------------- 1 | /*global document */ 2 | (function() { 3 | var source = document.getElementsByClassName('prettyprint source linenums'); 4 | var i = 0; 5 | var lineNumber = 0; 6 | var lineId; 7 | var lines; 8 | var totalLines; 9 | var anchorHash; 10 | 11 | if (source && source[0]) { 12 | anchorHash = document.location.hash.substring(1); 13 | lines = source[0].getElementsByTagName('li'); 14 | totalLines = lines.length; 15 | 16 | for (; i < totalLines; i++) { 17 | lineNumber++; 18 | lineId = 'line' + lineNumber; 19 | lines[i].id = lineId; 20 | if (lineId === anchorHash) { 21 | lines[i].className += ' selected'; 22 | } 23 | } 24 | } 25 | })(); 26 | -------------------------------------------------------------------------------- /docs/reference-docs/master/scripts/prettify/lang-css.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\n "]],[["str",/^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/,null],["str",/^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/,null],["lang-css-str",/^url\(([^"')]*)\)/i],["kwd",/^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["com", 2 | /^(?:<\!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]); 3 | -------------------------------------------------------------------------------- /docs/reference-docs/master/styles/prettify-jsdoc.css: -------------------------------------------------------------------------------- 1 | /* JSDoc prettify.js theme */ 2 | 3 | /* plain text */ 4 | .pln { 5 | color: #000000; 6 | font-weight: normal; 7 | font-style: normal; 8 | } 9 | 10 | /* string content */ 11 | .str { 12 | color: #006400; 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | 17 | /* a keyword */ 18 | .kwd { 19 | color: #000000; 20 | font-weight: bold; 21 | font-style: normal; 22 | } 23 | 24 | /* a comment */ 25 | .com { 26 | font-weight: normal; 27 | font-style: italic; 28 | } 29 | 30 | /* a type name */ 31 | .typ { 32 | color: #000000; 33 | font-weight: normal; 34 | font-style: normal; 35 | } 36 | 37 | /* a literal value */ 38 | .lit { 39 | color: #006400; 40 | font-weight: normal; 41 | font-style: normal; 42 | } 43 | 44 | /* punctuation */ 45 | .pun { 46 | color: #000000; 47 | font-weight: bold; 48 | font-style: normal; 49 | } 50 | 51 | /* lisp open bracket */ 52 | .opn { 53 | color: #000000; 54 | font-weight: bold; 55 | font-style: normal; 56 | } 57 | 58 | /* lisp close bracket */ 59 | .clo { 60 | color: #000000; 61 | font-weight: bold; 62 | font-style: normal; 63 | } 64 | 65 | /* a markup tag name */ 66 | .tag { 67 | color: #006400; 68 | font-weight: normal; 69 | font-style: normal; 70 | } 71 | 72 | /* a markup attribute name */ 73 | .atn { 74 | color: #006400; 75 | font-weight: normal; 76 | font-style: normal; 77 | } 78 | 79 | /* a markup attribute value */ 80 | .atv { 81 | color: #006400; 82 | font-weight: normal; 83 | font-style: normal; 84 | } 85 | 86 | /* a declaration */ 87 | .dec { 88 | color: #000000; 89 | font-weight: bold; 90 | font-style: normal; 91 | } 92 | 93 | /* a variable name */ 94 | .var { 95 | color: #000000; 96 | font-weight: normal; 97 | font-style: normal; 98 | } 99 | 100 | /* a function name */ 101 | .fun { 102 | color: #000000; 103 | font-weight: bold; 104 | font-style: normal; 105 | } 106 | 107 | /* Specify class=linenums on a pre to get line numbering */ 108 | ol.linenums { 109 | margin-top: 0; 110 | margin-bottom: 0; 111 | } 112 | -------------------------------------------------------------------------------- /docs/reference-docs/master/styles/prettify-tomorrow.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Theme */ 2 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 3 | /* Pretty printing styles. Used with prettify.js. */ 4 | /* SPAN elements with the classes below are added by prettyprint. */ 5 | /* plain text */ 6 | .pln { 7 | color: #4d4d4c; } 8 | 9 | @media screen { 10 | /* string content */ 11 | .str { 12 | color: #718c00; } 13 | 14 | /* a keyword */ 15 | .kwd { 16 | color: #8959a8; } 17 | 18 | /* a comment */ 19 | .com { 20 | color: #8e908c; } 21 | 22 | /* a type name */ 23 | .typ { 24 | color: #4271ae; } 25 | 26 | /* a literal value */ 27 | .lit { 28 | color: #f5871f; } 29 | 30 | /* punctuation */ 31 | .pun { 32 | color: #4d4d4c; } 33 | 34 | /* lisp open bracket */ 35 | .opn { 36 | color: #4d4d4c; } 37 | 38 | /* lisp close bracket */ 39 | .clo { 40 | color: #4d4d4c; } 41 | 42 | /* a markup tag name */ 43 | .tag { 44 | color: #c82829; } 45 | 46 | /* a markup attribute name */ 47 | .atn { 48 | color: #f5871f; } 49 | 50 | /* a markup attribute value */ 51 | .atv { 52 | color: #3e999f; } 53 | 54 | /* a declaration */ 55 | .dec { 56 | color: #f5871f; } 57 | 58 | /* a variable name */ 59 | .var { 60 | color: #c82829; } 61 | 62 | /* a function name */ 63 | .fun { 64 | color: #4271ae; } } 65 | /* Use higher contrast and text-weight for printable form. */ 66 | @media print, projection { 67 | .str { 68 | color: #060; } 69 | 70 | .kwd { 71 | color: #006; 72 | font-weight: bold; } 73 | 74 | .com { 75 | color: #600; 76 | font-style: italic; } 77 | 78 | .typ { 79 | color: #404; 80 | font-weight: bold; } 81 | 82 | .lit { 83 | color: #044; } 84 | 85 | .pun, .opn, .clo { 86 | color: #440; } 87 | 88 | .tag { 89 | color: #006; 90 | font-weight: bold; } 91 | 92 | .atn { 93 | color: #404; } 94 | 95 | .atv { 96 | color: #060; } } 97 | /* Style */ 98 | /* 99 | pre.prettyprint { 100 | background: white; 101 | font-family: Consolas, Monaco, 'Andale Mono', monospace; 102 | font-size: 12px; 103 | line-height: 1.5; 104 | border: 1px solid #ccc; 105 | padding: 10px; } 106 | */ 107 | 108 | /* Specify class=linenums on a pre to get line numbering */ 109 | ol.linenums { 110 | margin-top: 0; 111 | margin-bottom: 0; } 112 | 113 | /* IE indents via margin-left */ 114 | li.L0, 115 | li.L1, 116 | li.L2, 117 | li.L3, 118 | li.L4, 119 | li.L5, 120 | li.L6, 121 | li.L7, 122 | li.L8, 123 | li.L9 { 124 | /* */ } 125 | 126 | /* Alternate shading for lines */ 127 | li.L1, 128 | li.L3, 129 | li.L5, 130 | li.L7, 131 | li.L9 { 132 | /* */ } 133 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.10/fonts/OpenSans-Bold-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.10/fonts/OpenSans-Bold-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.10/fonts/OpenSans-Bold-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.10/fonts/OpenSans-Bold-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.10/fonts/OpenSans-BoldItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.10/fonts/OpenSans-BoldItalic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.10/fonts/OpenSans-BoldItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.10/fonts/OpenSans-BoldItalic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.10/fonts/OpenSans-Italic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.10/fonts/OpenSans-Italic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.10/fonts/OpenSans-Italic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.10/fonts/OpenSans-Italic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.10/fonts/OpenSans-Light-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.10/fonts/OpenSans-Light-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.10/fonts/OpenSans-Light-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.10/fonts/OpenSans-Light-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.10/fonts/OpenSans-LightItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.10/fonts/OpenSans-LightItalic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.10/fonts/OpenSans-LightItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.10/fonts/OpenSans-LightItalic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.10/fonts/OpenSans-Regular-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.10/fonts/OpenSans-Regular-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.10/fonts/OpenSans-Regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.10/fonts/OpenSans-Regular-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.10/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | JSDoc: Home 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
    19 | 20 |

    Home

    21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |

    30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 |
    51 | 52 | 55 | 56 |
    57 | 58 | 61 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.10/scripts/linenumber.js: -------------------------------------------------------------------------------- 1 | /*global document */ 2 | (function() { 3 | var source = document.getElementsByClassName('prettyprint source linenums'); 4 | var i = 0; 5 | var lineNumber = 0; 6 | var lineId; 7 | var lines; 8 | var totalLines; 9 | var anchorHash; 10 | 11 | if (source && source[0]) { 12 | anchorHash = document.location.hash.substring(1); 13 | lines = source[0].getElementsByTagName('li'); 14 | totalLines = lines.length; 15 | 16 | for (; i < totalLines; i++) { 17 | lineNumber++; 18 | lineId = 'line' + lineNumber; 19 | lines[i].id = lineId; 20 | if (lineId === anchorHash) { 21 | lines[i].className += ' selected'; 22 | } 23 | } 24 | } 25 | })(); 26 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.10/scripts/prettify/lang-css.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\n "]],[["str",/^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/,null],["str",/^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/,null],["lang-css-str",/^url\(([^"')]*)\)/i],["kwd",/^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["com", 2 | /^(?:<\!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]); 3 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.10/styles/prettify-jsdoc.css: -------------------------------------------------------------------------------- 1 | /* JSDoc prettify.js theme */ 2 | 3 | /* plain text */ 4 | .pln { 5 | color: #000000; 6 | font-weight: normal; 7 | font-style: normal; 8 | } 9 | 10 | /* string content */ 11 | .str { 12 | color: #006400; 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | 17 | /* a keyword */ 18 | .kwd { 19 | color: #000000; 20 | font-weight: bold; 21 | font-style: normal; 22 | } 23 | 24 | /* a comment */ 25 | .com { 26 | font-weight: normal; 27 | font-style: italic; 28 | } 29 | 30 | /* a type name */ 31 | .typ { 32 | color: #000000; 33 | font-weight: normal; 34 | font-style: normal; 35 | } 36 | 37 | /* a literal value */ 38 | .lit { 39 | color: #006400; 40 | font-weight: normal; 41 | font-style: normal; 42 | } 43 | 44 | /* punctuation */ 45 | .pun { 46 | color: #000000; 47 | font-weight: bold; 48 | font-style: normal; 49 | } 50 | 51 | /* lisp open bracket */ 52 | .opn { 53 | color: #000000; 54 | font-weight: bold; 55 | font-style: normal; 56 | } 57 | 58 | /* lisp close bracket */ 59 | .clo { 60 | color: #000000; 61 | font-weight: bold; 62 | font-style: normal; 63 | } 64 | 65 | /* a markup tag name */ 66 | .tag { 67 | color: #006400; 68 | font-weight: normal; 69 | font-style: normal; 70 | } 71 | 72 | /* a markup attribute name */ 73 | .atn { 74 | color: #006400; 75 | font-weight: normal; 76 | font-style: normal; 77 | } 78 | 79 | /* a markup attribute value */ 80 | .atv { 81 | color: #006400; 82 | font-weight: normal; 83 | font-style: normal; 84 | } 85 | 86 | /* a declaration */ 87 | .dec { 88 | color: #000000; 89 | font-weight: bold; 90 | font-style: normal; 91 | } 92 | 93 | /* a variable name */ 94 | .var { 95 | color: #000000; 96 | font-weight: normal; 97 | font-style: normal; 98 | } 99 | 100 | /* a function name */ 101 | .fun { 102 | color: #000000; 103 | font-weight: bold; 104 | font-style: normal; 105 | } 106 | 107 | /* Specify class=linenums on a pre to get line numbering */ 108 | ol.linenums { 109 | margin-top: 0; 110 | margin-bottom: 0; 111 | } 112 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.10/styles/prettify-tomorrow.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Theme */ 2 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 3 | /* Pretty printing styles. Used with prettify.js. */ 4 | /* SPAN elements with the classes below are added by prettyprint. */ 5 | /* plain text */ 6 | .pln { 7 | color: #4d4d4c; } 8 | 9 | @media screen { 10 | /* string content */ 11 | .str { 12 | color: #718c00; } 13 | 14 | /* a keyword */ 15 | .kwd { 16 | color: #8959a8; } 17 | 18 | /* a comment */ 19 | .com { 20 | color: #8e908c; } 21 | 22 | /* a type name */ 23 | .typ { 24 | color: #4271ae; } 25 | 26 | /* a literal value */ 27 | .lit { 28 | color: #f5871f; } 29 | 30 | /* punctuation */ 31 | .pun { 32 | color: #4d4d4c; } 33 | 34 | /* lisp open bracket */ 35 | .opn { 36 | color: #4d4d4c; } 37 | 38 | /* lisp close bracket */ 39 | .clo { 40 | color: #4d4d4c; } 41 | 42 | /* a markup tag name */ 43 | .tag { 44 | color: #c82829; } 45 | 46 | /* a markup attribute name */ 47 | .atn { 48 | color: #f5871f; } 49 | 50 | /* a markup attribute value */ 51 | .atv { 52 | color: #3e999f; } 53 | 54 | /* a declaration */ 55 | .dec { 56 | color: #f5871f; } 57 | 58 | /* a variable name */ 59 | .var { 60 | color: #c82829; } 61 | 62 | /* a function name */ 63 | .fun { 64 | color: #4271ae; } } 65 | /* Use higher contrast and text-weight for printable form. */ 66 | @media print, projection { 67 | .str { 68 | color: #060; } 69 | 70 | .kwd { 71 | color: #006; 72 | font-weight: bold; } 73 | 74 | .com { 75 | color: #600; 76 | font-style: italic; } 77 | 78 | .typ { 79 | color: #404; 80 | font-weight: bold; } 81 | 82 | .lit { 83 | color: #044; } 84 | 85 | .pun, .opn, .clo { 86 | color: #440; } 87 | 88 | .tag { 89 | color: #006; 90 | font-weight: bold; } 91 | 92 | .atn { 93 | color: #404; } 94 | 95 | .atv { 96 | color: #060; } } 97 | /* Style */ 98 | /* 99 | pre.prettyprint { 100 | background: white; 101 | font-family: Consolas, Monaco, 'Andale Mono', monospace; 102 | font-size: 12px; 103 | line-height: 1.5; 104 | border: 1px solid #ccc; 105 | padding: 10px; } 106 | */ 107 | 108 | /* Specify class=linenums on a pre to get line numbering */ 109 | ol.linenums { 110 | margin-top: 0; 111 | margin-bottom: 0; } 112 | 113 | /* IE indents via margin-left */ 114 | li.L0, 115 | li.L1, 116 | li.L2, 117 | li.L3, 118 | li.L4, 119 | li.L5, 120 | li.L6, 121 | li.L7, 122 | li.L8, 123 | li.L9 { 124 | /* */ } 125 | 126 | /* Alternate shading for lines */ 127 | li.L1, 128 | li.L3, 129 | li.L5, 130 | li.L7, 131 | li.L9 { 132 | /* */ } 133 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.11/fonts/OpenSans-Bold-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.11/fonts/OpenSans-Bold-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.11/fonts/OpenSans-Bold-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.11/fonts/OpenSans-Bold-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.11/fonts/OpenSans-BoldItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.11/fonts/OpenSans-BoldItalic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.11/fonts/OpenSans-BoldItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.11/fonts/OpenSans-BoldItalic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.11/fonts/OpenSans-Italic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.11/fonts/OpenSans-Italic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.11/fonts/OpenSans-Italic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.11/fonts/OpenSans-Italic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.11/fonts/OpenSans-Light-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.11/fonts/OpenSans-Light-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.11/fonts/OpenSans-Light-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.11/fonts/OpenSans-Light-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.11/fonts/OpenSans-LightItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.11/fonts/OpenSans-LightItalic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.11/fonts/OpenSans-LightItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.11/fonts/OpenSans-LightItalic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.11/fonts/OpenSans-Regular-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.11/fonts/OpenSans-Regular-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.11/fonts/OpenSans-Regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.11/fonts/OpenSans-Regular-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.11/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | JSDoc: Home 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
    19 | 20 |

    Home

    21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |

    30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 |
    51 | 52 | 55 | 56 |
    57 | 58 | 61 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.11/scripts/linenumber.js: -------------------------------------------------------------------------------- 1 | /*global document */ 2 | (function() { 3 | var source = document.getElementsByClassName('prettyprint source linenums'); 4 | var i = 0; 5 | var lineNumber = 0; 6 | var lineId; 7 | var lines; 8 | var totalLines; 9 | var anchorHash; 10 | 11 | if (source && source[0]) { 12 | anchorHash = document.location.hash.substring(1); 13 | lines = source[0].getElementsByTagName('li'); 14 | totalLines = lines.length; 15 | 16 | for (; i < totalLines; i++) { 17 | lineNumber++; 18 | lineId = 'line' + lineNumber; 19 | lines[i].id = lineId; 20 | if (lineId === anchorHash) { 21 | lines[i].className += ' selected'; 22 | } 23 | } 24 | } 25 | })(); 26 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.11/scripts/prettify/lang-css.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\n "]],[["str",/^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/,null],["str",/^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/,null],["lang-css-str",/^url\(([^"')]*)\)/i],["kwd",/^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["com", 2 | /^(?:<\!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]); 3 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.11/styles/prettify-jsdoc.css: -------------------------------------------------------------------------------- 1 | /* JSDoc prettify.js theme */ 2 | 3 | /* plain text */ 4 | .pln { 5 | color: #000000; 6 | font-weight: normal; 7 | font-style: normal; 8 | } 9 | 10 | /* string content */ 11 | .str { 12 | color: #006400; 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | 17 | /* a keyword */ 18 | .kwd { 19 | color: #000000; 20 | font-weight: bold; 21 | font-style: normal; 22 | } 23 | 24 | /* a comment */ 25 | .com { 26 | font-weight: normal; 27 | font-style: italic; 28 | } 29 | 30 | /* a type name */ 31 | .typ { 32 | color: #000000; 33 | font-weight: normal; 34 | font-style: normal; 35 | } 36 | 37 | /* a literal value */ 38 | .lit { 39 | color: #006400; 40 | font-weight: normal; 41 | font-style: normal; 42 | } 43 | 44 | /* punctuation */ 45 | .pun { 46 | color: #000000; 47 | font-weight: bold; 48 | font-style: normal; 49 | } 50 | 51 | /* lisp open bracket */ 52 | .opn { 53 | color: #000000; 54 | font-weight: bold; 55 | font-style: normal; 56 | } 57 | 58 | /* lisp close bracket */ 59 | .clo { 60 | color: #000000; 61 | font-weight: bold; 62 | font-style: normal; 63 | } 64 | 65 | /* a markup tag name */ 66 | .tag { 67 | color: #006400; 68 | font-weight: normal; 69 | font-style: normal; 70 | } 71 | 72 | /* a markup attribute name */ 73 | .atn { 74 | color: #006400; 75 | font-weight: normal; 76 | font-style: normal; 77 | } 78 | 79 | /* a markup attribute value */ 80 | .atv { 81 | color: #006400; 82 | font-weight: normal; 83 | font-style: normal; 84 | } 85 | 86 | /* a declaration */ 87 | .dec { 88 | color: #000000; 89 | font-weight: bold; 90 | font-style: normal; 91 | } 92 | 93 | /* a variable name */ 94 | .var { 95 | color: #000000; 96 | font-weight: normal; 97 | font-style: normal; 98 | } 99 | 100 | /* a function name */ 101 | .fun { 102 | color: #000000; 103 | font-weight: bold; 104 | font-style: normal; 105 | } 106 | 107 | /* Specify class=linenums on a pre to get line numbering */ 108 | ol.linenums { 109 | margin-top: 0; 110 | margin-bottom: 0; 111 | } 112 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.11/styles/prettify-tomorrow.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Theme */ 2 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 3 | /* Pretty printing styles. Used with prettify.js. */ 4 | /* SPAN elements with the classes below are added by prettyprint. */ 5 | /* plain text */ 6 | .pln { 7 | color: #4d4d4c; } 8 | 9 | @media screen { 10 | /* string content */ 11 | .str { 12 | color: #718c00; } 13 | 14 | /* a keyword */ 15 | .kwd { 16 | color: #8959a8; } 17 | 18 | /* a comment */ 19 | .com { 20 | color: #8e908c; } 21 | 22 | /* a type name */ 23 | .typ { 24 | color: #4271ae; } 25 | 26 | /* a literal value */ 27 | .lit { 28 | color: #f5871f; } 29 | 30 | /* punctuation */ 31 | .pun { 32 | color: #4d4d4c; } 33 | 34 | /* lisp open bracket */ 35 | .opn { 36 | color: #4d4d4c; } 37 | 38 | /* lisp close bracket */ 39 | .clo { 40 | color: #4d4d4c; } 41 | 42 | /* a markup tag name */ 43 | .tag { 44 | color: #c82829; } 45 | 46 | /* a markup attribute name */ 47 | .atn { 48 | color: #f5871f; } 49 | 50 | /* a markup attribute value */ 51 | .atv { 52 | color: #3e999f; } 53 | 54 | /* a declaration */ 55 | .dec { 56 | color: #f5871f; } 57 | 58 | /* a variable name */ 59 | .var { 60 | color: #c82829; } 61 | 62 | /* a function name */ 63 | .fun { 64 | color: #4271ae; } } 65 | /* Use higher contrast and text-weight for printable form. */ 66 | @media print, projection { 67 | .str { 68 | color: #060; } 69 | 70 | .kwd { 71 | color: #006; 72 | font-weight: bold; } 73 | 74 | .com { 75 | color: #600; 76 | font-style: italic; } 77 | 78 | .typ { 79 | color: #404; 80 | font-weight: bold; } 81 | 82 | .lit { 83 | color: #044; } 84 | 85 | .pun, .opn, .clo { 86 | color: #440; } 87 | 88 | .tag { 89 | color: #006; 90 | font-weight: bold; } 91 | 92 | .atn { 93 | color: #404; } 94 | 95 | .atv { 96 | color: #060; } } 97 | /* Style */ 98 | /* 99 | pre.prettyprint { 100 | background: white; 101 | font-family: Consolas, Monaco, 'Andale Mono', monospace; 102 | font-size: 12px; 103 | line-height: 1.5; 104 | border: 1px solid #ccc; 105 | padding: 10px; } 106 | */ 107 | 108 | /* Specify class=linenums on a pre to get line numbering */ 109 | ol.linenums { 110 | margin-top: 0; 111 | margin-bottom: 0; } 112 | 113 | /* IE indents via margin-left */ 114 | li.L0, 115 | li.L1, 116 | li.L2, 117 | li.L3, 118 | li.L4, 119 | li.L5, 120 | li.L6, 121 | li.L7, 122 | li.L8, 123 | li.L9 { 124 | /* */ } 125 | 126 | /* Alternate shading for lines */ 127 | li.L1, 128 | li.L3, 129 | li.L5, 130 | li.L7, 131 | li.L9 { 132 | /* */ } 133 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.12/fonts/OpenSans-Bold-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.12/fonts/OpenSans-Bold-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.12/fonts/OpenSans-Bold-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.12/fonts/OpenSans-Bold-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.12/fonts/OpenSans-BoldItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.12/fonts/OpenSans-BoldItalic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.12/fonts/OpenSans-BoldItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.12/fonts/OpenSans-BoldItalic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.12/fonts/OpenSans-Italic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.12/fonts/OpenSans-Italic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.12/fonts/OpenSans-Italic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.12/fonts/OpenSans-Italic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.12/fonts/OpenSans-Light-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.12/fonts/OpenSans-Light-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.12/fonts/OpenSans-Light-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.12/fonts/OpenSans-Light-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.12/fonts/OpenSans-LightItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.12/fonts/OpenSans-LightItalic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.12/fonts/OpenSans-LightItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.12/fonts/OpenSans-LightItalic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.12/fonts/OpenSans-Regular-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.12/fonts/OpenSans-Regular-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.12/fonts/OpenSans-Regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.12/fonts/OpenSans-Regular-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.12/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | JSDoc: Home 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
    19 | 20 |

    Home

    21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |

    30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 |
    51 | 52 | 55 | 56 |
    57 | 58 | 61 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.12/scripts/linenumber.js: -------------------------------------------------------------------------------- 1 | /*global document */ 2 | (function() { 3 | var source = document.getElementsByClassName('prettyprint source linenums'); 4 | var i = 0; 5 | var lineNumber = 0; 6 | var lineId; 7 | var lines; 8 | var totalLines; 9 | var anchorHash; 10 | 11 | if (source && source[0]) { 12 | anchorHash = document.location.hash.substring(1); 13 | lines = source[0].getElementsByTagName('li'); 14 | totalLines = lines.length; 15 | 16 | for (; i < totalLines; i++) { 17 | lineNumber++; 18 | lineId = 'line' + lineNumber; 19 | lines[i].id = lineId; 20 | if (lineId === anchorHash) { 21 | lines[i].className += ' selected'; 22 | } 23 | } 24 | } 25 | })(); 26 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.12/scripts/prettify/lang-css.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\n "]],[["str",/^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/,null],["str",/^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/,null],["lang-css-str",/^url\(([^"')]*)\)/i],["kwd",/^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["com", 2 | /^(?:<\!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]); 3 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.12/styles/prettify-jsdoc.css: -------------------------------------------------------------------------------- 1 | /* JSDoc prettify.js theme */ 2 | 3 | /* plain text */ 4 | .pln { 5 | color: #000000; 6 | font-weight: normal; 7 | font-style: normal; 8 | } 9 | 10 | /* string content */ 11 | .str { 12 | color: #006400; 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | 17 | /* a keyword */ 18 | .kwd { 19 | color: #000000; 20 | font-weight: bold; 21 | font-style: normal; 22 | } 23 | 24 | /* a comment */ 25 | .com { 26 | font-weight: normal; 27 | font-style: italic; 28 | } 29 | 30 | /* a type name */ 31 | .typ { 32 | color: #000000; 33 | font-weight: normal; 34 | font-style: normal; 35 | } 36 | 37 | /* a literal value */ 38 | .lit { 39 | color: #006400; 40 | font-weight: normal; 41 | font-style: normal; 42 | } 43 | 44 | /* punctuation */ 45 | .pun { 46 | color: #000000; 47 | font-weight: bold; 48 | font-style: normal; 49 | } 50 | 51 | /* lisp open bracket */ 52 | .opn { 53 | color: #000000; 54 | font-weight: bold; 55 | font-style: normal; 56 | } 57 | 58 | /* lisp close bracket */ 59 | .clo { 60 | color: #000000; 61 | font-weight: bold; 62 | font-style: normal; 63 | } 64 | 65 | /* a markup tag name */ 66 | .tag { 67 | color: #006400; 68 | font-weight: normal; 69 | font-style: normal; 70 | } 71 | 72 | /* a markup attribute name */ 73 | .atn { 74 | color: #006400; 75 | font-weight: normal; 76 | font-style: normal; 77 | } 78 | 79 | /* a markup attribute value */ 80 | .atv { 81 | color: #006400; 82 | font-weight: normal; 83 | font-style: normal; 84 | } 85 | 86 | /* a declaration */ 87 | .dec { 88 | color: #000000; 89 | font-weight: bold; 90 | font-style: normal; 91 | } 92 | 93 | /* a variable name */ 94 | .var { 95 | color: #000000; 96 | font-weight: normal; 97 | font-style: normal; 98 | } 99 | 100 | /* a function name */ 101 | .fun { 102 | color: #000000; 103 | font-weight: bold; 104 | font-style: normal; 105 | } 106 | 107 | /* Specify class=linenums on a pre to get line numbering */ 108 | ol.linenums { 109 | margin-top: 0; 110 | margin-bottom: 0; 111 | } 112 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.12/styles/prettify-tomorrow.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Theme */ 2 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 3 | /* Pretty printing styles. Used with prettify.js. */ 4 | /* SPAN elements with the classes below are added by prettyprint. */ 5 | /* plain text */ 6 | .pln { 7 | color: #4d4d4c; } 8 | 9 | @media screen { 10 | /* string content */ 11 | .str { 12 | color: #718c00; } 13 | 14 | /* a keyword */ 15 | .kwd { 16 | color: #8959a8; } 17 | 18 | /* a comment */ 19 | .com { 20 | color: #8e908c; } 21 | 22 | /* a type name */ 23 | .typ { 24 | color: #4271ae; } 25 | 26 | /* a literal value */ 27 | .lit { 28 | color: #f5871f; } 29 | 30 | /* punctuation */ 31 | .pun { 32 | color: #4d4d4c; } 33 | 34 | /* lisp open bracket */ 35 | .opn { 36 | color: #4d4d4c; } 37 | 38 | /* lisp close bracket */ 39 | .clo { 40 | color: #4d4d4c; } 41 | 42 | /* a markup tag name */ 43 | .tag { 44 | color: #c82829; } 45 | 46 | /* a markup attribute name */ 47 | .atn { 48 | color: #f5871f; } 49 | 50 | /* a markup attribute value */ 51 | .atv { 52 | color: #3e999f; } 53 | 54 | /* a declaration */ 55 | .dec { 56 | color: #f5871f; } 57 | 58 | /* a variable name */ 59 | .var { 60 | color: #c82829; } 61 | 62 | /* a function name */ 63 | .fun { 64 | color: #4271ae; } } 65 | /* Use higher contrast and text-weight for printable form. */ 66 | @media print, projection { 67 | .str { 68 | color: #060; } 69 | 70 | .kwd { 71 | color: #006; 72 | font-weight: bold; } 73 | 74 | .com { 75 | color: #600; 76 | font-style: italic; } 77 | 78 | .typ { 79 | color: #404; 80 | font-weight: bold; } 81 | 82 | .lit { 83 | color: #044; } 84 | 85 | .pun, .opn, .clo { 86 | color: #440; } 87 | 88 | .tag { 89 | color: #006; 90 | font-weight: bold; } 91 | 92 | .atn { 93 | color: #404; } 94 | 95 | .atv { 96 | color: #060; } } 97 | /* Style */ 98 | /* 99 | pre.prettyprint { 100 | background: white; 101 | font-family: Consolas, Monaco, 'Andale Mono', monospace; 102 | font-size: 12px; 103 | line-height: 1.5; 104 | border: 1px solid #ccc; 105 | padding: 10px; } 106 | */ 107 | 108 | /* Specify class=linenums on a pre to get line numbering */ 109 | ol.linenums { 110 | margin-top: 0; 111 | margin-bottom: 0; } 112 | 113 | /* IE indents via margin-left */ 114 | li.L0, 115 | li.L1, 116 | li.L2, 117 | li.L3, 118 | li.L4, 119 | li.L5, 120 | li.L6, 121 | li.L7, 122 | li.L8, 123 | li.L9 { 124 | /* */ } 125 | 126 | /* Alternate shading for lines */ 127 | li.L1, 128 | li.L3, 129 | li.L5, 130 | li.L7, 131 | li.L9 { 132 | /* */ } 133 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.13/fonts/OpenSans-Bold-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.13/fonts/OpenSans-Bold-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.13/fonts/OpenSans-Bold-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.13/fonts/OpenSans-Bold-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.13/fonts/OpenSans-BoldItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.13/fonts/OpenSans-BoldItalic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.13/fonts/OpenSans-BoldItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.13/fonts/OpenSans-BoldItalic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.13/fonts/OpenSans-Italic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.13/fonts/OpenSans-Italic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.13/fonts/OpenSans-Italic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.13/fonts/OpenSans-Italic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.13/fonts/OpenSans-Light-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.13/fonts/OpenSans-Light-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.13/fonts/OpenSans-Light-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.13/fonts/OpenSans-Light-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.13/fonts/OpenSans-LightItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.13/fonts/OpenSans-LightItalic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.13/fonts/OpenSans-LightItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.13/fonts/OpenSans-LightItalic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.13/fonts/OpenSans-Regular-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.13/fonts/OpenSans-Regular-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.13/fonts/OpenSans-Regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.13/fonts/OpenSans-Regular-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.13/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | JSDoc: Home 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
    19 | 20 |

    Home

    21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |

    30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 |
    51 | 52 | 55 | 56 |
    57 | 58 | 61 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.13/scripts/linenumber.js: -------------------------------------------------------------------------------- 1 | /*global document */ 2 | (function() { 3 | var source = document.getElementsByClassName('prettyprint source linenums'); 4 | var i = 0; 5 | var lineNumber = 0; 6 | var lineId; 7 | var lines; 8 | var totalLines; 9 | var anchorHash; 10 | 11 | if (source && source[0]) { 12 | anchorHash = document.location.hash.substring(1); 13 | lines = source[0].getElementsByTagName('li'); 14 | totalLines = lines.length; 15 | 16 | for (; i < totalLines; i++) { 17 | lineNumber++; 18 | lineId = 'line' + lineNumber; 19 | lines[i].id = lineId; 20 | if (lineId === anchorHash) { 21 | lines[i].className += ' selected'; 22 | } 23 | } 24 | } 25 | })(); 26 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.13/scripts/prettify/lang-css.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\n "]],[["str",/^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/,null],["str",/^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/,null],["lang-css-str",/^url\(([^"')]*)\)/i],["kwd",/^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["com", 2 | /^(?:<\!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]); 3 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.13/styles/prettify-jsdoc.css: -------------------------------------------------------------------------------- 1 | /* JSDoc prettify.js theme */ 2 | 3 | /* plain text */ 4 | .pln { 5 | color: #000000; 6 | font-weight: normal; 7 | font-style: normal; 8 | } 9 | 10 | /* string content */ 11 | .str { 12 | color: #006400; 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | 17 | /* a keyword */ 18 | .kwd { 19 | color: #000000; 20 | font-weight: bold; 21 | font-style: normal; 22 | } 23 | 24 | /* a comment */ 25 | .com { 26 | font-weight: normal; 27 | font-style: italic; 28 | } 29 | 30 | /* a type name */ 31 | .typ { 32 | color: #000000; 33 | font-weight: normal; 34 | font-style: normal; 35 | } 36 | 37 | /* a literal value */ 38 | .lit { 39 | color: #006400; 40 | font-weight: normal; 41 | font-style: normal; 42 | } 43 | 44 | /* punctuation */ 45 | .pun { 46 | color: #000000; 47 | font-weight: bold; 48 | font-style: normal; 49 | } 50 | 51 | /* lisp open bracket */ 52 | .opn { 53 | color: #000000; 54 | font-weight: bold; 55 | font-style: normal; 56 | } 57 | 58 | /* lisp close bracket */ 59 | .clo { 60 | color: #000000; 61 | font-weight: bold; 62 | font-style: normal; 63 | } 64 | 65 | /* a markup tag name */ 66 | .tag { 67 | color: #006400; 68 | font-weight: normal; 69 | font-style: normal; 70 | } 71 | 72 | /* a markup attribute name */ 73 | .atn { 74 | color: #006400; 75 | font-weight: normal; 76 | font-style: normal; 77 | } 78 | 79 | /* a markup attribute value */ 80 | .atv { 81 | color: #006400; 82 | font-weight: normal; 83 | font-style: normal; 84 | } 85 | 86 | /* a declaration */ 87 | .dec { 88 | color: #000000; 89 | font-weight: bold; 90 | font-style: normal; 91 | } 92 | 93 | /* a variable name */ 94 | .var { 95 | color: #000000; 96 | font-weight: normal; 97 | font-style: normal; 98 | } 99 | 100 | /* a function name */ 101 | .fun { 102 | color: #000000; 103 | font-weight: bold; 104 | font-style: normal; 105 | } 106 | 107 | /* Specify class=linenums on a pre to get line numbering */ 108 | ol.linenums { 109 | margin-top: 0; 110 | margin-bottom: 0; 111 | } 112 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.13/styles/prettify-tomorrow.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Theme */ 2 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 3 | /* Pretty printing styles. Used with prettify.js. */ 4 | /* SPAN elements with the classes below are added by prettyprint. */ 5 | /* plain text */ 6 | .pln { 7 | color: #4d4d4c; } 8 | 9 | @media screen { 10 | /* string content */ 11 | .str { 12 | color: #718c00; } 13 | 14 | /* a keyword */ 15 | .kwd { 16 | color: #8959a8; } 17 | 18 | /* a comment */ 19 | .com { 20 | color: #8e908c; } 21 | 22 | /* a type name */ 23 | .typ { 24 | color: #4271ae; } 25 | 26 | /* a literal value */ 27 | .lit { 28 | color: #f5871f; } 29 | 30 | /* punctuation */ 31 | .pun { 32 | color: #4d4d4c; } 33 | 34 | /* lisp open bracket */ 35 | .opn { 36 | color: #4d4d4c; } 37 | 38 | /* lisp close bracket */ 39 | .clo { 40 | color: #4d4d4c; } 41 | 42 | /* a markup tag name */ 43 | .tag { 44 | color: #c82829; } 45 | 46 | /* a markup attribute name */ 47 | .atn { 48 | color: #f5871f; } 49 | 50 | /* a markup attribute value */ 51 | .atv { 52 | color: #3e999f; } 53 | 54 | /* a declaration */ 55 | .dec { 56 | color: #f5871f; } 57 | 58 | /* a variable name */ 59 | .var { 60 | color: #c82829; } 61 | 62 | /* a function name */ 63 | .fun { 64 | color: #4271ae; } } 65 | /* Use higher contrast and text-weight for printable form. */ 66 | @media print, projection { 67 | .str { 68 | color: #060; } 69 | 70 | .kwd { 71 | color: #006; 72 | font-weight: bold; } 73 | 74 | .com { 75 | color: #600; 76 | font-style: italic; } 77 | 78 | .typ { 79 | color: #404; 80 | font-weight: bold; } 81 | 82 | .lit { 83 | color: #044; } 84 | 85 | .pun, .opn, .clo { 86 | color: #440; } 87 | 88 | .tag { 89 | color: #006; 90 | font-weight: bold; } 91 | 92 | .atn { 93 | color: #404; } 94 | 95 | .atv { 96 | color: #060; } } 97 | /* Style */ 98 | /* 99 | pre.prettyprint { 100 | background: white; 101 | font-family: Consolas, Monaco, 'Andale Mono', monospace; 102 | font-size: 12px; 103 | line-height: 1.5; 104 | border: 1px solid #ccc; 105 | padding: 10px; } 106 | */ 107 | 108 | /* Specify class=linenums on a pre to get line numbering */ 109 | ol.linenums { 110 | margin-top: 0; 111 | margin-bottom: 0; } 112 | 113 | /* IE indents via margin-left */ 114 | li.L0, 115 | li.L1, 116 | li.L2, 117 | li.L3, 118 | li.L4, 119 | li.L5, 120 | li.L6, 121 | li.L7, 122 | li.L8, 123 | li.L9 { 124 | /* */ } 125 | 126 | /* Alternate shading for lines */ 127 | li.L1, 128 | li.L3, 129 | li.L5, 130 | li.L7, 131 | li.L9 { 132 | /* */ } 133 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.14/fonts/OpenSans-Bold-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.14/fonts/OpenSans-Bold-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.14/fonts/OpenSans-Bold-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.14/fonts/OpenSans-Bold-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.14/fonts/OpenSans-BoldItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.14/fonts/OpenSans-BoldItalic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.14/fonts/OpenSans-BoldItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.14/fonts/OpenSans-BoldItalic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.14/fonts/OpenSans-Italic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.14/fonts/OpenSans-Italic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.14/fonts/OpenSans-Italic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.14/fonts/OpenSans-Italic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.14/fonts/OpenSans-Light-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.14/fonts/OpenSans-Light-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.14/fonts/OpenSans-Light-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.14/fonts/OpenSans-Light-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.14/fonts/OpenSans-LightItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.14/fonts/OpenSans-LightItalic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.14/fonts/OpenSans-LightItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.14/fonts/OpenSans-LightItalic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.14/fonts/OpenSans-Regular-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.14/fonts/OpenSans-Regular-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.14/fonts/OpenSans-Regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.14/fonts/OpenSans-Regular-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.14/scripts/linenumber.js: -------------------------------------------------------------------------------- 1 | /*global document */ 2 | (function() { 3 | var source = document.getElementsByClassName('prettyprint source linenums'); 4 | var i = 0; 5 | var lineNumber = 0; 6 | var lineId; 7 | var lines; 8 | var totalLines; 9 | var anchorHash; 10 | 11 | if (source && source[0]) { 12 | anchorHash = document.location.hash.substring(1); 13 | lines = source[0].getElementsByTagName('li'); 14 | totalLines = lines.length; 15 | 16 | for (; i < totalLines; i++) { 17 | lineNumber++; 18 | lineId = 'line' + lineNumber; 19 | lines[i].id = lineId; 20 | if (lineId === anchorHash) { 21 | lines[i].className += ' selected'; 22 | } 23 | } 24 | } 25 | })(); 26 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.14/scripts/prettify/lang-css.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\n "]],[["str",/^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/,null],["str",/^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/,null],["lang-css-str",/^url\(([^"')]*)\)/i],["kwd",/^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["com", 2 | /^(?:<\!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]); 3 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.14/styles/prettify-jsdoc.css: -------------------------------------------------------------------------------- 1 | /* JSDoc prettify.js theme */ 2 | 3 | /* plain text */ 4 | .pln { 5 | color: #000000; 6 | font-weight: normal; 7 | font-style: normal; 8 | } 9 | 10 | /* string content */ 11 | .str { 12 | color: #006400; 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | 17 | /* a keyword */ 18 | .kwd { 19 | color: #000000; 20 | font-weight: bold; 21 | font-style: normal; 22 | } 23 | 24 | /* a comment */ 25 | .com { 26 | font-weight: normal; 27 | font-style: italic; 28 | } 29 | 30 | /* a type name */ 31 | .typ { 32 | color: #000000; 33 | font-weight: normal; 34 | font-style: normal; 35 | } 36 | 37 | /* a literal value */ 38 | .lit { 39 | color: #006400; 40 | font-weight: normal; 41 | font-style: normal; 42 | } 43 | 44 | /* punctuation */ 45 | .pun { 46 | color: #000000; 47 | font-weight: bold; 48 | font-style: normal; 49 | } 50 | 51 | /* lisp open bracket */ 52 | .opn { 53 | color: #000000; 54 | font-weight: bold; 55 | font-style: normal; 56 | } 57 | 58 | /* lisp close bracket */ 59 | .clo { 60 | color: #000000; 61 | font-weight: bold; 62 | font-style: normal; 63 | } 64 | 65 | /* a markup tag name */ 66 | .tag { 67 | color: #006400; 68 | font-weight: normal; 69 | font-style: normal; 70 | } 71 | 72 | /* a markup attribute name */ 73 | .atn { 74 | color: #006400; 75 | font-weight: normal; 76 | font-style: normal; 77 | } 78 | 79 | /* a markup attribute value */ 80 | .atv { 81 | color: #006400; 82 | font-weight: normal; 83 | font-style: normal; 84 | } 85 | 86 | /* a declaration */ 87 | .dec { 88 | color: #000000; 89 | font-weight: bold; 90 | font-style: normal; 91 | } 92 | 93 | /* a variable name */ 94 | .var { 95 | color: #000000; 96 | font-weight: normal; 97 | font-style: normal; 98 | } 99 | 100 | /* a function name */ 101 | .fun { 102 | color: #000000; 103 | font-weight: bold; 104 | font-style: normal; 105 | } 106 | 107 | /* Specify class=linenums on a pre to get line numbering */ 108 | ol.linenums { 109 | margin-top: 0; 110 | margin-bottom: 0; 111 | } 112 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.14/styles/prettify-tomorrow.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Theme */ 2 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 3 | /* Pretty printing styles. Used with prettify.js. */ 4 | /* SPAN elements with the classes below are added by prettyprint. */ 5 | /* plain text */ 6 | .pln { 7 | color: #4d4d4c; } 8 | 9 | @media screen { 10 | /* string content */ 11 | .str { 12 | color: #718c00; } 13 | 14 | /* a keyword */ 15 | .kwd { 16 | color: #8959a8; } 17 | 18 | /* a comment */ 19 | .com { 20 | color: #8e908c; } 21 | 22 | /* a type name */ 23 | .typ { 24 | color: #4271ae; } 25 | 26 | /* a literal value */ 27 | .lit { 28 | color: #f5871f; } 29 | 30 | /* punctuation */ 31 | .pun { 32 | color: #4d4d4c; } 33 | 34 | /* lisp open bracket */ 35 | .opn { 36 | color: #4d4d4c; } 37 | 38 | /* lisp close bracket */ 39 | .clo { 40 | color: #4d4d4c; } 41 | 42 | /* a markup tag name */ 43 | .tag { 44 | color: #c82829; } 45 | 46 | /* a markup attribute name */ 47 | .atn { 48 | color: #f5871f; } 49 | 50 | /* a markup attribute value */ 51 | .atv { 52 | color: #3e999f; } 53 | 54 | /* a declaration */ 55 | .dec { 56 | color: #f5871f; } 57 | 58 | /* a variable name */ 59 | .var { 60 | color: #c82829; } 61 | 62 | /* a function name */ 63 | .fun { 64 | color: #4271ae; } } 65 | /* Use higher contrast and text-weight for printable form. */ 66 | @media print, projection { 67 | .str { 68 | color: #060; } 69 | 70 | .kwd { 71 | color: #006; 72 | font-weight: bold; } 73 | 74 | .com { 75 | color: #600; 76 | font-style: italic; } 77 | 78 | .typ { 79 | color: #404; 80 | font-weight: bold; } 81 | 82 | .lit { 83 | color: #044; } 84 | 85 | .pun, .opn, .clo { 86 | color: #440; } 87 | 88 | .tag { 89 | color: #006; 90 | font-weight: bold; } 91 | 92 | .atn { 93 | color: #404; } 94 | 95 | .atv { 96 | color: #060; } } 97 | /* Style */ 98 | /* 99 | pre.prettyprint { 100 | background: white; 101 | font-family: Consolas, Monaco, 'Andale Mono', monospace; 102 | font-size: 12px; 103 | line-height: 1.5; 104 | border: 1px solid #ccc; 105 | padding: 10px; } 106 | */ 107 | 108 | /* Specify class=linenums on a pre to get line numbering */ 109 | ol.linenums { 110 | margin-top: 0; 111 | margin-bottom: 0; } 112 | 113 | /* IE indents via margin-left */ 114 | li.L0, 115 | li.L1, 116 | li.L2, 117 | li.L3, 118 | li.L4, 119 | li.L5, 120 | li.L6, 121 | li.L7, 122 | li.L8, 123 | li.L9 { 124 | /* */ } 125 | 126 | /* Alternate shading for lines */ 127 | li.L1, 128 | li.L3, 129 | li.L5, 130 | li.L7, 131 | li.L9 { 132 | /* */ } 133 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.15/fonts/OpenSans-Bold-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.15/fonts/OpenSans-Bold-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.15/fonts/OpenSans-Bold-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.15/fonts/OpenSans-Bold-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.15/fonts/OpenSans-BoldItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.15/fonts/OpenSans-BoldItalic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.15/fonts/OpenSans-BoldItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.15/fonts/OpenSans-BoldItalic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.15/fonts/OpenSans-Italic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.15/fonts/OpenSans-Italic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.15/fonts/OpenSans-Italic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.15/fonts/OpenSans-Italic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.15/fonts/OpenSans-Light-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.15/fonts/OpenSans-Light-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.15/fonts/OpenSans-Light-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.15/fonts/OpenSans-Light-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.15/fonts/OpenSans-LightItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.15/fonts/OpenSans-LightItalic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.15/fonts/OpenSans-LightItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.15/fonts/OpenSans-LightItalic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.15/fonts/OpenSans-Regular-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.15/fonts/OpenSans-Regular-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.15/fonts/OpenSans-Regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.15/fonts/OpenSans-Regular-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.15/scripts/linenumber.js: -------------------------------------------------------------------------------- 1 | /*global document */ 2 | (function() { 3 | var source = document.getElementsByClassName('prettyprint source linenums'); 4 | var i = 0; 5 | var lineNumber = 0; 6 | var lineId; 7 | var lines; 8 | var totalLines; 9 | var anchorHash; 10 | 11 | if (source && source[0]) { 12 | anchorHash = document.location.hash.substring(1); 13 | lines = source[0].getElementsByTagName('li'); 14 | totalLines = lines.length; 15 | 16 | for (; i < totalLines; i++) { 17 | lineNumber++; 18 | lineId = 'line' + lineNumber; 19 | lines[i].id = lineId; 20 | if (lineId === anchorHash) { 21 | lines[i].className += ' selected'; 22 | } 23 | } 24 | } 25 | })(); 26 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.15/scripts/prettify/lang-css.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\n "]],[["str",/^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/,null],["str",/^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/,null],["lang-css-str",/^url\(([^"')]*)\)/i],["kwd",/^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["com", 2 | /^(?:<\!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]); 3 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.15/styles/prettify-jsdoc.css: -------------------------------------------------------------------------------- 1 | /* JSDoc prettify.js theme */ 2 | 3 | /* plain text */ 4 | .pln { 5 | color: #000000; 6 | font-weight: normal; 7 | font-style: normal; 8 | } 9 | 10 | /* string content */ 11 | .str { 12 | color: #006400; 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | 17 | /* a keyword */ 18 | .kwd { 19 | color: #000000; 20 | font-weight: bold; 21 | font-style: normal; 22 | } 23 | 24 | /* a comment */ 25 | .com { 26 | font-weight: normal; 27 | font-style: italic; 28 | } 29 | 30 | /* a type name */ 31 | .typ { 32 | color: #000000; 33 | font-weight: normal; 34 | font-style: normal; 35 | } 36 | 37 | /* a literal value */ 38 | .lit { 39 | color: #006400; 40 | font-weight: normal; 41 | font-style: normal; 42 | } 43 | 44 | /* punctuation */ 45 | .pun { 46 | color: #000000; 47 | font-weight: bold; 48 | font-style: normal; 49 | } 50 | 51 | /* lisp open bracket */ 52 | .opn { 53 | color: #000000; 54 | font-weight: bold; 55 | font-style: normal; 56 | } 57 | 58 | /* lisp close bracket */ 59 | .clo { 60 | color: #000000; 61 | font-weight: bold; 62 | font-style: normal; 63 | } 64 | 65 | /* a markup tag name */ 66 | .tag { 67 | color: #006400; 68 | font-weight: normal; 69 | font-style: normal; 70 | } 71 | 72 | /* a markup attribute name */ 73 | .atn { 74 | color: #006400; 75 | font-weight: normal; 76 | font-style: normal; 77 | } 78 | 79 | /* a markup attribute value */ 80 | .atv { 81 | color: #006400; 82 | font-weight: normal; 83 | font-style: normal; 84 | } 85 | 86 | /* a declaration */ 87 | .dec { 88 | color: #000000; 89 | font-weight: bold; 90 | font-style: normal; 91 | } 92 | 93 | /* a variable name */ 94 | .var { 95 | color: #000000; 96 | font-weight: normal; 97 | font-style: normal; 98 | } 99 | 100 | /* a function name */ 101 | .fun { 102 | color: #000000; 103 | font-weight: bold; 104 | font-style: normal; 105 | } 106 | 107 | /* Specify class=linenums on a pre to get line numbering */ 108 | ol.linenums { 109 | margin-top: 0; 110 | margin-bottom: 0; 111 | } 112 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.15/styles/prettify-tomorrow.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Theme */ 2 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 3 | /* Pretty printing styles. Used with prettify.js. */ 4 | /* SPAN elements with the classes below are added by prettyprint. */ 5 | /* plain text */ 6 | .pln { 7 | color: #4d4d4c; } 8 | 9 | @media screen { 10 | /* string content */ 11 | .str { 12 | color: #718c00; } 13 | 14 | /* a keyword */ 15 | .kwd { 16 | color: #8959a8; } 17 | 18 | /* a comment */ 19 | .com { 20 | color: #8e908c; } 21 | 22 | /* a type name */ 23 | .typ { 24 | color: #4271ae; } 25 | 26 | /* a literal value */ 27 | .lit { 28 | color: #f5871f; } 29 | 30 | /* punctuation */ 31 | .pun { 32 | color: #4d4d4c; } 33 | 34 | /* lisp open bracket */ 35 | .opn { 36 | color: #4d4d4c; } 37 | 38 | /* lisp close bracket */ 39 | .clo { 40 | color: #4d4d4c; } 41 | 42 | /* a markup tag name */ 43 | .tag { 44 | color: #c82829; } 45 | 46 | /* a markup attribute name */ 47 | .atn { 48 | color: #f5871f; } 49 | 50 | /* a markup attribute value */ 51 | .atv { 52 | color: #3e999f; } 53 | 54 | /* a declaration */ 55 | .dec { 56 | color: #f5871f; } 57 | 58 | /* a variable name */ 59 | .var { 60 | color: #c82829; } 61 | 62 | /* a function name */ 63 | .fun { 64 | color: #4271ae; } } 65 | /* Use higher contrast and text-weight for printable form. */ 66 | @media print, projection { 67 | .str { 68 | color: #060; } 69 | 70 | .kwd { 71 | color: #006; 72 | font-weight: bold; } 73 | 74 | .com { 75 | color: #600; 76 | font-style: italic; } 77 | 78 | .typ { 79 | color: #404; 80 | font-weight: bold; } 81 | 82 | .lit { 83 | color: #044; } 84 | 85 | .pun, .opn, .clo { 86 | color: #440; } 87 | 88 | .tag { 89 | color: #006; 90 | font-weight: bold; } 91 | 92 | .atn { 93 | color: #404; } 94 | 95 | .atv { 96 | color: #060; } } 97 | /* Style */ 98 | /* 99 | pre.prettyprint { 100 | background: white; 101 | font-family: Consolas, Monaco, 'Andale Mono', monospace; 102 | font-size: 12px; 103 | line-height: 1.5; 104 | border: 1px solid #ccc; 105 | padding: 10px; } 106 | */ 107 | 108 | /* Specify class=linenums on a pre to get line numbering */ 109 | ol.linenums { 110 | margin-top: 0; 111 | margin-bottom: 0; } 112 | 113 | /* IE indents via margin-left */ 114 | li.L0, 115 | li.L1, 116 | li.L2, 117 | li.L3, 118 | li.L4, 119 | li.L5, 120 | li.L6, 121 | li.L7, 122 | li.L8, 123 | li.L9 { 124 | /* */ } 125 | 126 | /* Alternate shading for lines */ 127 | li.L1, 128 | li.L3, 129 | li.L5, 130 | li.L7, 131 | li.L9 { 132 | /* */ } 133 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.7/fonts/OpenSans-Bold-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.7/fonts/OpenSans-Bold-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.7/fonts/OpenSans-Bold-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.7/fonts/OpenSans-Bold-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.7/fonts/OpenSans-BoldItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.7/fonts/OpenSans-BoldItalic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.7/fonts/OpenSans-BoldItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.7/fonts/OpenSans-BoldItalic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.7/fonts/OpenSans-Italic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.7/fonts/OpenSans-Italic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.7/fonts/OpenSans-Italic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.7/fonts/OpenSans-Italic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.7/fonts/OpenSans-Light-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.7/fonts/OpenSans-Light-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.7/fonts/OpenSans-Light-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.7/fonts/OpenSans-Light-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.7/fonts/OpenSans-LightItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.7/fonts/OpenSans-LightItalic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.7/fonts/OpenSans-LightItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.7/fonts/OpenSans-LightItalic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.7/fonts/OpenSans-Regular-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.7/fonts/OpenSans-Regular-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.7/fonts/OpenSans-Regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.7/fonts/OpenSans-Regular-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.7/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | JSDoc: Home 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
    19 | 20 |

    Home

    21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |

    30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 |
    51 | 52 | 55 | 56 |
    57 | 58 | 61 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.7/scripts/linenumber.js: -------------------------------------------------------------------------------- 1 | /*global document */ 2 | (function() { 3 | var source = document.getElementsByClassName('prettyprint source linenums'); 4 | var i = 0; 5 | var lineNumber = 0; 6 | var lineId; 7 | var lines; 8 | var totalLines; 9 | var anchorHash; 10 | 11 | if (source && source[0]) { 12 | anchorHash = document.location.hash.substring(1); 13 | lines = source[0].getElementsByTagName('li'); 14 | totalLines = lines.length; 15 | 16 | for (; i < totalLines; i++) { 17 | lineNumber++; 18 | lineId = 'line' + lineNumber; 19 | lines[i].id = lineId; 20 | if (lineId === anchorHash) { 21 | lines[i].className += ' selected'; 22 | } 23 | } 24 | } 25 | })(); 26 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.7/scripts/prettify/lang-css.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\n "]],[["str",/^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/,null],["str",/^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/,null],["lang-css-str",/^url\(([^"')]*)\)/i],["kwd",/^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["com", 2 | /^(?:<\!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]); 3 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.7/styles/prettify-jsdoc.css: -------------------------------------------------------------------------------- 1 | /* JSDoc prettify.js theme */ 2 | 3 | /* plain text */ 4 | .pln { 5 | color: #000000; 6 | font-weight: normal; 7 | font-style: normal; 8 | } 9 | 10 | /* string content */ 11 | .str { 12 | color: #006400; 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | 17 | /* a keyword */ 18 | .kwd { 19 | color: #000000; 20 | font-weight: bold; 21 | font-style: normal; 22 | } 23 | 24 | /* a comment */ 25 | .com { 26 | font-weight: normal; 27 | font-style: italic; 28 | } 29 | 30 | /* a type name */ 31 | .typ { 32 | color: #000000; 33 | font-weight: normal; 34 | font-style: normal; 35 | } 36 | 37 | /* a literal value */ 38 | .lit { 39 | color: #006400; 40 | font-weight: normal; 41 | font-style: normal; 42 | } 43 | 44 | /* punctuation */ 45 | .pun { 46 | color: #000000; 47 | font-weight: bold; 48 | font-style: normal; 49 | } 50 | 51 | /* lisp open bracket */ 52 | .opn { 53 | color: #000000; 54 | font-weight: bold; 55 | font-style: normal; 56 | } 57 | 58 | /* lisp close bracket */ 59 | .clo { 60 | color: #000000; 61 | font-weight: bold; 62 | font-style: normal; 63 | } 64 | 65 | /* a markup tag name */ 66 | .tag { 67 | color: #006400; 68 | font-weight: normal; 69 | font-style: normal; 70 | } 71 | 72 | /* a markup attribute name */ 73 | .atn { 74 | color: #006400; 75 | font-weight: normal; 76 | font-style: normal; 77 | } 78 | 79 | /* a markup attribute value */ 80 | .atv { 81 | color: #006400; 82 | font-weight: normal; 83 | font-style: normal; 84 | } 85 | 86 | /* a declaration */ 87 | .dec { 88 | color: #000000; 89 | font-weight: bold; 90 | font-style: normal; 91 | } 92 | 93 | /* a variable name */ 94 | .var { 95 | color: #000000; 96 | font-weight: normal; 97 | font-style: normal; 98 | } 99 | 100 | /* a function name */ 101 | .fun { 102 | color: #000000; 103 | font-weight: bold; 104 | font-style: normal; 105 | } 106 | 107 | /* Specify class=linenums on a pre to get line numbering */ 108 | ol.linenums { 109 | margin-top: 0; 110 | margin-bottom: 0; 111 | } 112 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.7/styles/prettify-tomorrow.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Theme */ 2 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 3 | /* Pretty printing styles. Used with prettify.js. */ 4 | /* SPAN elements with the classes below are added by prettyprint. */ 5 | /* plain text */ 6 | .pln { 7 | color: #4d4d4c; } 8 | 9 | @media screen { 10 | /* string content */ 11 | .str { 12 | color: #718c00; } 13 | 14 | /* a keyword */ 15 | .kwd { 16 | color: #8959a8; } 17 | 18 | /* a comment */ 19 | .com { 20 | color: #8e908c; } 21 | 22 | /* a type name */ 23 | .typ { 24 | color: #4271ae; } 25 | 26 | /* a literal value */ 27 | .lit { 28 | color: #f5871f; } 29 | 30 | /* punctuation */ 31 | .pun { 32 | color: #4d4d4c; } 33 | 34 | /* lisp open bracket */ 35 | .opn { 36 | color: #4d4d4c; } 37 | 38 | /* lisp close bracket */ 39 | .clo { 40 | color: #4d4d4c; } 41 | 42 | /* a markup tag name */ 43 | .tag { 44 | color: #c82829; } 45 | 46 | /* a markup attribute name */ 47 | .atn { 48 | color: #f5871f; } 49 | 50 | /* a markup attribute value */ 51 | .atv { 52 | color: #3e999f; } 53 | 54 | /* a declaration */ 55 | .dec { 56 | color: #f5871f; } 57 | 58 | /* a variable name */ 59 | .var { 60 | color: #c82829; } 61 | 62 | /* a function name */ 63 | .fun { 64 | color: #4271ae; } } 65 | /* Use higher contrast and text-weight for printable form. */ 66 | @media print, projection { 67 | .str { 68 | color: #060; } 69 | 70 | .kwd { 71 | color: #006; 72 | font-weight: bold; } 73 | 74 | .com { 75 | color: #600; 76 | font-style: italic; } 77 | 78 | .typ { 79 | color: #404; 80 | font-weight: bold; } 81 | 82 | .lit { 83 | color: #044; } 84 | 85 | .pun, .opn, .clo { 86 | color: #440; } 87 | 88 | .tag { 89 | color: #006; 90 | font-weight: bold; } 91 | 92 | .atn { 93 | color: #404; } 94 | 95 | .atv { 96 | color: #060; } } 97 | /* Style */ 98 | /* 99 | pre.prettyprint { 100 | background: white; 101 | font-family: Consolas, Monaco, 'Andale Mono', monospace; 102 | font-size: 12px; 103 | line-height: 1.5; 104 | border: 1px solid #ccc; 105 | padding: 10px; } 106 | */ 107 | 108 | /* Specify class=linenums on a pre to get line numbering */ 109 | ol.linenums { 110 | margin-top: 0; 111 | margin-bottom: 0; } 112 | 113 | /* IE indents via margin-left */ 114 | li.L0, 115 | li.L1, 116 | li.L2, 117 | li.L3, 118 | li.L4, 119 | li.L5, 120 | li.L6, 121 | li.L7, 122 | li.L8, 123 | li.L9 { 124 | /* */ } 125 | 126 | /* Alternate shading for lines */ 127 | li.L1, 128 | li.L3, 129 | li.L5, 130 | li.L7, 131 | li.L9 { 132 | /* */ } 133 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.8/fonts/OpenSans-Bold-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.8/fonts/OpenSans-Bold-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.8/fonts/OpenSans-Bold-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.8/fonts/OpenSans-Bold-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.8/fonts/OpenSans-BoldItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.8/fonts/OpenSans-BoldItalic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.8/fonts/OpenSans-BoldItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.8/fonts/OpenSans-BoldItalic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.8/fonts/OpenSans-Italic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.8/fonts/OpenSans-Italic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.8/fonts/OpenSans-Italic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.8/fonts/OpenSans-Italic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.8/fonts/OpenSans-Light-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.8/fonts/OpenSans-Light-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.8/fonts/OpenSans-Light-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.8/fonts/OpenSans-Light-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.8/fonts/OpenSans-LightItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.8/fonts/OpenSans-LightItalic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.8/fonts/OpenSans-LightItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.8/fonts/OpenSans-LightItalic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.8/fonts/OpenSans-Regular-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.8/fonts/OpenSans-Regular-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.8/fonts/OpenSans-Regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.8/fonts/OpenSans-Regular-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.8/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | JSDoc: Home 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
    19 | 20 |

    Home

    21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |

    30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 |
    51 | 52 | 55 | 56 |
    57 | 58 | 61 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.8/scripts/linenumber.js: -------------------------------------------------------------------------------- 1 | /*global document */ 2 | (function() { 3 | var source = document.getElementsByClassName('prettyprint source linenums'); 4 | var i = 0; 5 | var lineNumber = 0; 6 | var lineId; 7 | var lines; 8 | var totalLines; 9 | var anchorHash; 10 | 11 | if (source && source[0]) { 12 | anchorHash = document.location.hash.substring(1); 13 | lines = source[0].getElementsByTagName('li'); 14 | totalLines = lines.length; 15 | 16 | for (; i < totalLines; i++) { 17 | lineNumber++; 18 | lineId = 'line' + lineNumber; 19 | lines[i].id = lineId; 20 | if (lineId === anchorHash) { 21 | lines[i].className += ' selected'; 22 | } 23 | } 24 | } 25 | })(); 26 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.8/scripts/prettify/lang-css.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\n "]],[["str",/^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/,null],["str",/^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/,null],["lang-css-str",/^url\(([^"')]*)\)/i],["kwd",/^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["com", 2 | /^(?:<\!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]); 3 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.8/styles/prettify-jsdoc.css: -------------------------------------------------------------------------------- 1 | /* JSDoc prettify.js theme */ 2 | 3 | /* plain text */ 4 | .pln { 5 | color: #000000; 6 | font-weight: normal; 7 | font-style: normal; 8 | } 9 | 10 | /* string content */ 11 | .str { 12 | color: #006400; 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | 17 | /* a keyword */ 18 | .kwd { 19 | color: #000000; 20 | font-weight: bold; 21 | font-style: normal; 22 | } 23 | 24 | /* a comment */ 25 | .com { 26 | font-weight: normal; 27 | font-style: italic; 28 | } 29 | 30 | /* a type name */ 31 | .typ { 32 | color: #000000; 33 | font-weight: normal; 34 | font-style: normal; 35 | } 36 | 37 | /* a literal value */ 38 | .lit { 39 | color: #006400; 40 | font-weight: normal; 41 | font-style: normal; 42 | } 43 | 44 | /* punctuation */ 45 | .pun { 46 | color: #000000; 47 | font-weight: bold; 48 | font-style: normal; 49 | } 50 | 51 | /* lisp open bracket */ 52 | .opn { 53 | color: #000000; 54 | font-weight: bold; 55 | font-style: normal; 56 | } 57 | 58 | /* lisp close bracket */ 59 | .clo { 60 | color: #000000; 61 | font-weight: bold; 62 | font-style: normal; 63 | } 64 | 65 | /* a markup tag name */ 66 | .tag { 67 | color: #006400; 68 | font-weight: normal; 69 | font-style: normal; 70 | } 71 | 72 | /* a markup attribute name */ 73 | .atn { 74 | color: #006400; 75 | font-weight: normal; 76 | font-style: normal; 77 | } 78 | 79 | /* a markup attribute value */ 80 | .atv { 81 | color: #006400; 82 | font-weight: normal; 83 | font-style: normal; 84 | } 85 | 86 | /* a declaration */ 87 | .dec { 88 | color: #000000; 89 | font-weight: bold; 90 | font-style: normal; 91 | } 92 | 93 | /* a variable name */ 94 | .var { 95 | color: #000000; 96 | font-weight: normal; 97 | font-style: normal; 98 | } 99 | 100 | /* a function name */ 101 | .fun { 102 | color: #000000; 103 | font-weight: bold; 104 | font-style: normal; 105 | } 106 | 107 | /* Specify class=linenums on a pre to get line numbering */ 108 | ol.linenums { 109 | margin-top: 0; 110 | margin-bottom: 0; 111 | } 112 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.8/styles/prettify-tomorrow.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Theme */ 2 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 3 | /* Pretty printing styles. Used with prettify.js. */ 4 | /* SPAN elements with the classes below are added by prettyprint. */ 5 | /* plain text */ 6 | .pln { 7 | color: #4d4d4c; } 8 | 9 | @media screen { 10 | /* string content */ 11 | .str { 12 | color: #718c00; } 13 | 14 | /* a keyword */ 15 | .kwd { 16 | color: #8959a8; } 17 | 18 | /* a comment */ 19 | .com { 20 | color: #8e908c; } 21 | 22 | /* a type name */ 23 | .typ { 24 | color: #4271ae; } 25 | 26 | /* a literal value */ 27 | .lit { 28 | color: #f5871f; } 29 | 30 | /* punctuation */ 31 | .pun { 32 | color: #4d4d4c; } 33 | 34 | /* lisp open bracket */ 35 | .opn { 36 | color: #4d4d4c; } 37 | 38 | /* lisp close bracket */ 39 | .clo { 40 | color: #4d4d4c; } 41 | 42 | /* a markup tag name */ 43 | .tag { 44 | color: #c82829; } 45 | 46 | /* a markup attribute name */ 47 | .atn { 48 | color: #f5871f; } 49 | 50 | /* a markup attribute value */ 51 | .atv { 52 | color: #3e999f; } 53 | 54 | /* a declaration */ 55 | .dec { 56 | color: #f5871f; } 57 | 58 | /* a variable name */ 59 | .var { 60 | color: #c82829; } 61 | 62 | /* a function name */ 63 | .fun { 64 | color: #4271ae; } } 65 | /* Use higher contrast and text-weight for printable form. */ 66 | @media print, projection { 67 | .str { 68 | color: #060; } 69 | 70 | .kwd { 71 | color: #006; 72 | font-weight: bold; } 73 | 74 | .com { 75 | color: #600; 76 | font-style: italic; } 77 | 78 | .typ { 79 | color: #404; 80 | font-weight: bold; } 81 | 82 | .lit { 83 | color: #044; } 84 | 85 | .pun, .opn, .clo { 86 | color: #440; } 87 | 88 | .tag { 89 | color: #006; 90 | font-weight: bold; } 91 | 92 | .atn { 93 | color: #404; } 94 | 95 | .atv { 96 | color: #060; } } 97 | /* Style */ 98 | /* 99 | pre.prettyprint { 100 | background: white; 101 | font-family: Consolas, Monaco, 'Andale Mono', monospace; 102 | font-size: 12px; 103 | line-height: 1.5; 104 | border: 1px solid #ccc; 105 | padding: 10px; } 106 | */ 107 | 108 | /* Specify class=linenums on a pre to get line numbering */ 109 | ol.linenums { 110 | margin-top: 0; 111 | margin-bottom: 0; } 112 | 113 | /* IE indents via margin-left */ 114 | li.L0, 115 | li.L1, 116 | li.L2, 117 | li.L3, 118 | li.L4, 119 | li.L5, 120 | li.L6, 121 | li.L7, 122 | li.L8, 123 | li.L9 { 124 | /* */ } 125 | 126 | /* Alternate shading for lines */ 127 | li.L1, 128 | li.L3, 129 | li.L5, 130 | li.L7, 131 | li.L9 { 132 | /* */ } 133 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.9/fonts/OpenSans-Bold-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.9/fonts/OpenSans-Bold-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.9/fonts/OpenSans-Bold-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.9/fonts/OpenSans-Bold-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.9/fonts/OpenSans-BoldItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.9/fonts/OpenSans-BoldItalic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.9/fonts/OpenSans-BoldItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.9/fonts/OpenSans-BoldItalic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.9/fonts/OpenSans-Italic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.9/fonts/OpenSans-Italic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.9/fonts/OpenSans-Italic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.9/fonts/OpenSans-Italic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.9/fonts/OpenSans-Light-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.9/fonts/OpenSans-Light-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.9/fonts/OpenSans-Light-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.9/fonts/OpenSans-Light-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.9/fonts/OpenSans-LightItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.9/fonts/OpenSans-LightItalic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.9/fonts/OpenSans-LightItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.9/fonts/OpenSans-LightItalic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.9/fonts/OpenSans-Regular-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.9/fonts/OpenSans-Regular-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.9/fonts/OpenSans-Regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.0.9/fonts/OpenSans-Regular-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.9/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | JSDoc: Home 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
    19 | 20 |

    Home

    21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |

    30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 |
    51 | 52 | 55 | 56 |
    57 | 58 | 61 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.9/scripts/linenumber.js: -------------------------------------------------------------------------------- 1 | /*global document */ 2 | (function() { 3 | var source = document.getElementsByClassName('prettyprint source linenums'); 4 | var i = 0; 5 | var lineNumber = 0; 6 | var lineId; 7 | var lines; 8 | var totalLines; 9 | var anchorHash; 10 | 11 | if (source && source[0]) { 12 | anchorHash = document.location.hash.substring(1); 13 | lines = source[0].getElementsByTagName('li'); 14 | totalLines = lines.length; 15 | 16 | for (; i < totalLines; i++) { 17 | lineNumber++; 18 | lineId = 'line' + lineNumber; 19 | lines[i].id = lineId; 20 | if (lineId === anchorHash) { 21 | lines[i].className += ' selected'; 22 | } 23 | } 24 | } 25 | })(); 26 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.9/scripts/prettify/lang-css.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\n "]],[["str",/^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/,null],["str",/^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/,null],["lang-css-str",/^url\(([^"')]*)\)/i],["kwd",/^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["com", 2 | /^(?:<\!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]); 3 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.9/styles/prettify-jsdoc.css: -------------------------------------------------------------------------------- 1 | /* JSDoc prettify.js theme */ 2 | 3 | /* plain text */ 4 | .pln { 5 | color: #000000; 6 | font-weight: normal; 7 | font-style: normal; 8 | } 9 | 10 | /* string content */ 11 | .str { 12 | color: #006400; 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | 17 | /* a keyword */ 18 | .kwd { 19 | color: #000000; 20 | font-weight: bold; 21 | font-style: normal; 22 | } 23 | 24 | /* a comment */ 25 | .com { 26 | font-weight: normal; 27 | font-style: italic; 28 | } 29 | 30 | /* a type name */ 31 | .typ { 32 | color: #000000; 33 | font-weight: normal; 34 | font-style: normal; 35 | } 36 | 37 | /* a literal value */ 38 | .lit { 39 | color: #006400; 40 | font-weight: normal; 41 | font-style: normal; 42 | } 43 | 44 | /* punctuation */ 45 | .pun { 46 | color: #000000; 47 | font-weight: bold; 48 | font-style: normal; 49 | } 50 | 51 | /* lisp open bracket */ 52 | .opn { 53 | color: #000000; 54 | font-weight: bold; 55 | font-style: normal; 56 | } 57 | 58 | /* lisp close bracket */ 59 | .clo { 60 | color: #000000; 61 | font-weight: bold; 62 | font-style: normal; 63 | } 64 | 65 | /* a markup tag name */ 66 | .tag { 67 | color: #006400; 68 | font-weight: normal; 69 | font-style: normal; 70 | } 71 | 72 | /* a markup attribute name */ 73 | .atn { 74 | color: #006400; 75 | font-weight: normal; 76 | font-style: normal; 77 | } 78 | 79 | /* a markup attribute value */ 80 | .atv { 81 | color: #006400; 82 | font-weight: normal; 83 | font-style: normal; 84 | } 85 | 86 | /* a declaration */ 87 | .dec { 88 | color: #000000; 89 | font-weight: bold; 90 | font-style: normal; 91 | } 92 | 93 | /* a variable name */ 94 | .var { 95 | color: #000000; 96 | font-weight: normal; 97 | font-style: normal; 98 | } 99 | 100 | /* a function name */ 101 | .fun { 102 | color: #000000; 103 | font-weight: bold; 104 | font-style: normal; 105 | } 106 | 107 | /* Specify class=linenums on a pre to get line numbering */ 108 | ol.linenums { 109 | margin-top: 0; 110 | margin-bottom: 0; 111 | } 112 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.0.9/styles/prettify-tomorrow.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Theme */ 2 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 3 | /* Pretty printing styles. Used with prettify.js. */ 4 | /* SPAN elements with the classes below are added by prettyprint. */ 5 | /* plain text */ 6 | .pln { 7 | color: #4d4d4c; } 8 | 9 | @media screen { 10 | /* string content */ 11 | .str { 12 | color: #718c00; } 13 | 14 | /* a keyword */ 15 | .kwd { 16 | color: #8959a8; } 17 | 18 | /* a comment */ 19 | .com { 20 | color: #8e908c; } 21 | 22 | /* a type name */ 23 | .typ { 24 | color: #4271ae; } 25 | 26 | /* a literal value */ 27 | .lit { 28 | color: #f5871f; } 29 | 30 | /* punctuation */ 31 | .pun { 32 | color: #4d4d4c; } 33 | 34 | /* lisp open bracket */ 35 | .opn { 36 | color: #4d4d4c; } 37 | 38 | /* lisp close bracket */ 39 | .clo { 40 | color: #4d4d4c; } 41 | 42 | /* a markup tag name */ 43 | .tag { 44 | color: #c82829; } 45 | 46 | /* a markup attribute name */ 47 | .atn { 48 | color: #f5871f; } 49 | 50 | /* a markup attribute value */ 51 | .atv { 52 | color: #3e999f; } 53 | 54 | /* a declaration */ 55 | .dec { 56 | color: #f5871f; } 57 | 58 | /* a variable name */ 59 | .var { 60 | color: #c82829; } 61 | 62 | /* a function name */ 63 | .fun { 64 | color: #4271ae; } } 65 | /* Use higher contrast and text-weight for printable form. */ 66 | @media print, projection { 67 | .str { 68 | color: #060; } 69 | 70 | .kwd { 71 | color: #006; 72 | font-weight: bold; } 73 | 74 | .com { 75 | color: #600; 76 | font-style: italic; } 77 | 78 | .typ { 79 | color: #404; 80 | font-weight: bold; } 81 | 82 | .lit { 83 | color: #044; } 84 | 85 | .pun, .opn, .clo { 86 | color: #440; } 87 | 88 | .tag { 89 | color: #006; 90 | font-weight: bold; } 91 | 92 | .atn { 93 | color: #404; } 94 | 95 | .atv { 96 | color: #060; } } 97 | /* Style */ 98 | /* 99 | pre.prettyprint { 100 | background: white; 101 | font-family: Consolas, Monaco, 'Andale Mono', monospace; 102 | font-size: 12px; 103 | line-height: 1.5; 104 | border: 1px solid #ccc; 105 | padding: 10px; } 106 | */ 107 | 108 | /* Specify class=linenums on a pre to get line numbering */ 109 | ol.linenums { 110 | margin-top: 0; 111 | margin-bottom: 0; } 112 | 113 | /* IE indents via margin-left */ 114 | li.L0, 115 | li.L1, 116 | li.L2, 117 | li.L3, 118 | li.L4, 119 | li.L5, 120 | li.L6, 121 | li.L7, 122 | li.L8, 123 | li.L9 { 124 | /* */ } 125 | 126 | /* Alternate shading for lines */ 127 | li.L1, 128 | li.L3, 129 | li.L5, 130 | li.L7, 131 | li.L9 { 132 | /* */ } 133 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.0/fonts/OpenSans-Bold-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.0/fonts/OpenSans-Bold-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.0/fonts/OpenSans-Bold-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.0/fonts/OpenSans-Bold-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.0/fonts/OpenSans-BoldItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.0/fonts/OpenSans-BoldItalic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.0/fonts/OpenSans-BoldItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.0/fonts/OpenSans-BoldItalic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.0/fonts/OpenSans-Italic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.0/fonts/OpenSans-Italic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.0/fonts/OpenSans-Italic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.0/fonts/OpenSans-Italic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.0/fonts/OpenSans-Light-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.0/fonts/OpenSans-Light-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.0/fonts/OpenSans-Light-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.0/fonts/OpenSans-Light-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.0/fonts/OpenSans-LightItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.0/fonts/OpenSans-LightItalic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.0/fonts/OpenSans-LightItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.0/fonts/OpenSans-LightItalic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.0/fonts/OpenSans-Regular-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.0/fonts/OpenSans-Regular-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.0/fonts/OpenSans-Regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.0/fonts/OpenSans-Regular-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.0/scripts/linenumber.js: -------------------------------------------------------------------------------- 1 | /*global document */ 2 | (function() { 3 | var source = document.getElementsByClassName('prettyprint source linenums'); 4 | var i = 0; 5 | var lineNumber = 0; 6 | var lineId; 7 | var lines; 8 | var totalLines; 9 | var anchorHash; 10 | 11 | if (source && source[0]) { 12 | anchorHash = document.location.hash.substring(1); 13 | lines = source[0].getElementsByTagName('li'); 14 | totalLines = lines.length; 15 | 16 | for (; i < totalLines; i++) { 17 | lineNumber++; 18 | lineId = 'line' + lineNumber; 19 | lines[i].id = lineId; 20 | if (lineId === anchorHash) { 21 | lines[i].className += ' selected'; 22 | } 23 | } 24 | } 25 | })(); 26 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.0/scripts/prettify/lang-css.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\n "]],[["str",/^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/,null],["str",/^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/,null],["lang-css-str",/^url\(([^"')]*)\)/i],["kwd",/^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["com", 2 | /^(?:<\!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]); 3 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.0/styles/prettify-jsdoc.css: -------------------------------------------------------------------------------- 1 | /* JSDoc prettify.js theme */ 2 | 3 | /* plain text */ 4 | .pln { 5 | color: #000000; 6 | font-weight: normal; 7 | font-style: normal; 8 | } 9 | 10 | /* string content */ 11 | .str { 12 | color: #006400; 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | 17 | /* a keyword */ 18 | .kwd { 19 | color: #000000; 20 | font-weight: bold; 21 | font-style: normal; 22 | } 23 | 24 | /* a comment */ 25 | .com { 26 | font-weight: normal; 27 | font-style: italic; 28 | } 29 | 30 | /* a type name */ 31 | .typ { 32 | color: #000000; 33 | font-weight: normal; 34 | font-style: normal; 35 | } 36 | 37 | /* a literal value */ 38 | .lit { 39 | color: #006400; 40 | font-weight: normal; 41 | font-style: normal; 42 | } 43 | 44 | /* punctuation */ 45 | .pun { 46 | color: #000000; 47 | font-weight: bold; 48 | font-style: normal; 49 | } 50 | 51 | /* lisp open bracket */ 52 | .opn { 53 | color: #000000; 54 | font-weight: bold; 55 | font-style: normal; 56 | } 57 | 58 | /* lisp close bracket */ 59 | .clo { 60 | color: #000000; 61 | font-weight: bold; 62 | font-style: normal; 63 | } 64 | 65 | /* a markup tag name */ 66 | .tag { 67 | color: #006400; 68 | font-weight: normal; 69 | font-style: normal; 70 | } 71 | 72 | /* a markup attribute name */ 73 | .atn { 74 | color: #006400; 75 | font-weight: normal; 76 | font-style: normal; 77 | } 78 | 79 | /* a markup attribute value */ 80 | .atv { 81 | color: #006400; 82 | font-weight: normal; 83 | font-style: normal; 84 | } 85 | 86 | /* a declaration */ 87 | .dec { 88 | color: #000000; 89 | font-weight: bold; 90 | font-style: normal; 91 | } 92 | 93 | /* a variable name */ 94 | .var { 95 | color: #000000; 96 | font-weight: normal; 97 | font-style: normal; 98 | } 99 | 100 | /* a function name */ 101 | .fun { 102 | color: #000000; 103 | font-weight: bold; 104 | font-style: normal; 105 | } 106 | 107 | /* Specify class=linenums on a pre to get line numbering */ 108 | ol.linenums { 109 | margin-top: 0; 110 | margin-bottom: 0; 111 | } 112 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.0/styles/prettify-tomorrow.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Theme */ 2 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 3 | /* Pretty printing styles. Used with prettify.js. */ 4 | /* SPAN elements with the classes below are added by prettyprint. */ 5 | /* plain text */ 6 | .pln { 7 | color: #4d4d4c; } 8 | 9 | @media screen { 10 | /* string content */ 11 | .str { 12 | color: #718c00; } 13 | 14 | /* a keyword */ 15 | .kwd { 16 | color: #8959a8; } 17 | 18 | /* a comment */ 19 | .com { 20 | color: #8e908c; } 21 | 22 | /* a type name */ 23 | .typ { 24 | color: #4271ae; } 25 | 26 | /* a literal value */ 27 | .lit { 28 | color: #f5871f; } 29 | 30 | /* punctuation */ 31 | .pun { 32 | color: #4d4d4c; } 33 | 34 | /* lisp open bracket */ 35 | .opn { 36 | color: #4d4d4c; } 37 | 38 | /* lisp close bracket */ 39 | .clo { 40 | color: #4d4d4c; } 41 | 42 | /* a markup tag name */ 43 | .tag { 44 | color: #c82829; } 45 | 46 | /* a markup attribute name */ 47 | .atn { 48 | color: #f5871f; } 49 | 50 | /* a markup attribute value */ 51 | .atv { 52 | color: #3e999f; } 53 | 54 | /* a declaration */ 55 | .dec { 56 | color: #f5871f; } 57 | 58 | /* a variable name */ 59 | .var { 60 | color: #c82829; } 61 | 62 | /* a function name */ 63 | .fun { 64 | color: #4271ae; } } 65 | /* Use higher contrast and text-weight for printable form. */ 66 | @media print, projection { 67 | .str { 68 | color: #060; } 69 | 70 | .kwd { 71 | color: #006; 72 | font-weight: bold; } 73 | 74 | .com { 75 | color: #600; 76 | font-style: italic; } 77 | 78 | .typ { 79 | color: #404; 80 | font-weight: bold; } 81 | 82 | .lit { 83 | color: #044; } 84 | 85 | .pun, .opn, .clo { 86 | color: #440; } 87 | 88 | .tag { 89 | color: #006; 90 | font-weight: bold; } 91 | 92 | .atn { 93 | color: #404; } 94 | 95 | .atv { 96 | color: #060; } } 97 | /* Style */ 98 | /* 99 | pre.prettyprint { 100 | background: white; 101 | font-family: Consolas, Monaco, 'Andale Mono', monospace; 102 | font-size: 12px; 103 | line-height: 1.5; 104 | border: 1px solid #ccc; 105 | padding: 10px; } 106 | */ 107 | 108 | /* Specify class=linenums on a pre to get line numbering */ 109 | ol.linenums { 110 | margin-top: 0; 111 | margin-bottom: 0; } 112 | 113 | /* IE indents via margin-left */ 114 | li.L0, 115 | li.L1, 116 | li.L2, 117 | li.L3, 118 | li.L4, 119 | li.L5, 120 | li.L6, 121 | li.L7, 122 | li.L8, 123 | li.L9 { 124 | /* */ } 125 | 126 | /* Alternate shading for lines */ 127 | li.L1, 128 | li.L3, 129 | li.L5, 130 | li.L7, 131 | li.L9 { 132 | /* */ } 133 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.1/fonts/OpenSans-Bold-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.1/fonts/OpenSans-Bold-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.1/fonts/OpenSans-Bold-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.1/fonts/OpenSans-Bold-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.1/fonts/OpenSans-BoldItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.1/fonts/OpenSans-BoldItalic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.1/fonts/OpenSans-BoldItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.1/fonts/OpenSans-BoldItalic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.1/fonts/OpenSans-Italic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.1/fonts/OpenSans-Italic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.1/fonts/OpenSans-Italic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.1/fonts/OpenSans-Italic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.1/fonts/OpenSans-Light-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.1/fonts/OpenSans-Light-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.1/fonts/OpenSans-Light-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.1/fonts/OpenSans-Light-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.1/fonts/OpenSans-LightItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.1/fonts/OpenSans-LightItalic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.1/fonts/OpenSans-LightItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.1/fonts/OpenSans-LightItalic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.1/fonts/OpenSans-Regular-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.1/fonts/OpenSans-Regular-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.1/fonts/OpenSans-Regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.1/fonts/OpenSans-Regular-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.1/scripts/linenumber.js: -------------------------------------------------------------------------------- 1 | /*global document */ 2 | (function() { 3 | var source = document.getElementsByClassName('prettyprint source linenums'); 4 | var i = 0; 5 | var lineNumber = 0; 6 | var lineId; 7 | var lines; 8 | var totalLines; 9 | var anchorHash; 10 | 11 | if (source && source[0]) { 12 | anchorHash = document.location.hash.substring(1); 13 | lines = source[0].getElementsByTagName('li'); 14 | totalLines = lines.length; 15 | 16 | for (; i < totalLines; i++) { 17 | lineNumber++; 18 | lineId = 'line' + lineNumber; 19 | lines[i].id = lineId; 20 | if (lineId === anchorHash) { 21 | lines[i].className += ' selected'; 22 | } 23 | } 24 | } 25 | })(); 26 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.1/scripts/prettify/lang-css.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\n "]],[["str",/^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/,null],["str",/^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/,null],["lang-css-str",/^url\(([^"')]*)\)/i],["kwd",/^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["com", 2 | /^(?:<\!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]); 3 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.1/styles/prettify-jsdoc.css: -------------------------------------------------------------------------------- 1 | /* JSDoc prettify.js theme */ 2 | 3 | /* plain text */ 4 | .pln { 5 | color: #000000; 6 | font-weight: normal; 7 | font-style: normal; 8 | } 9 | 10 | /* string content */ 11 | .str { 12 | color: #006400; 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | 17 | /* a keyword */ 18 | .kwd { 19 | color: #000000; 20 | font-weight: bold; 21 | font-style: normal; 22 | } 23 | 24 | /* a comment */ 25 | .com { 26 | font-weight: normal; 27 | font-style: italic; 28 | } 29 | 30 | /* a type name */ 31 | .typ { 32 | color: #000000; 33 | font-weight: normal; 34 | font-style: normal; 35 | } 36 | 37 | /* a literal value */ 38 | .lit { 39 | color: #006400; 40 | font-weight: normal; 41 | font-style: normal; 42 | } 43 | 44 | /* punctuation */ 45 | .pun { 46 | color: #000000; 47 | font-weight: bold; 48 | font-style: normal; 49 | } 50 | 51 | /* lisp open bracket */ 52 | .opn { 53 | color: #000000; 54 | font-weight: bold; 55 | font-style: normal; 56 | } 57 | 58 | /* lisp close bracket */ 59 | .clo { 60 | color: #000000; 61 | font-weight: bold; 62 | font-style: normal; 63 | } 64 | 65 | /* a markup tag name */ 66 | .tag { 67 | color: #006400; 68 | font-weight: normal; 69 | font-style: normal; 70 | } 71 | 72 | /* a markup attribute name */ 73 | .atn { 74 | color: #006400; 75 | font-weight: normal; 76 | font-style: normal; 77 | } 78 | 79 | /* a markup attribute value */ 80 | .atv { 81 | color: #006400; 82 | font-weight: normal; 83 | font-style: normal; 84 | } 85 | 86 | /* a declaration */ 87 | .dec { 88 | color: #000000; 89 | font-weight: bold; 90 | font-style: normal; 91 | } 92 | 93 | /* a variable name */ 94 | .var { 95 | color: #000000; 96 | font-weight: normal; 97 | font-style: normal; 98 | } 99 | 100 | /* a function name */ 101 | .fun { 102 | color: #000000; 103 | font-weight: bold; 104 | font-style: normal; 105 | } 106 | 107 | /* Specify class=linenums on a pre to get line numbering */ 108 | ol.linenums { 109 | margin-top: 0; 110 | margin-bottom: 0; 111 | } 112 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.1/styles/prettify-tomorrow.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Theme */ 2 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 3 | /* Pretty printing styles. Used with prettify.js. */ 4 | /* SPAN elements with the classes below are added by prettyprint. */ 5 | /* plain text */ 6 | .pln { 7 | color: #4d4d4c; } 8 | 9 | @media screen { 10 | /* string content */ 11 | .str { 12 | color: #718c00; } 13 | 14 | /* a keyword */ 15 | .kwd { 16 | color: #8959a8; } 17 | 18 | /* a comment */ 19 | .com { 20 | color: #8e908c; } 21 | 22 | /* a type name */ 23 | .typ { 24 | color: #4271ae; } 25 | 26 | /* a literal value */ 27 | .lit { 28 | color: #f5871f; } 29 | 30 | /* punctuation */ 31 | .pun { 32 | color: #4d4d4c; } 33 | 34 | /* lisp open bracket */ 35 | .opn { 36 | color: #4d4d4c; } 37 | 38 | /* lisp close bracket */ 39 | .clo { 40 | color: #4d4d4c; } 41 | 42 | /* a markup tag name */ 43 | .tag { 44 | color: #c82829; } 45 | 46 | /* a markup attribute name */ 47 | .atn { 48 | color: #f5871f; } 49 | 50 | /* a markup attribute value */ 51 | .atv { 52 | color: #3e999f; } 53 | 54 | /* a declaration */ 55 | .dec { 56 | color: #f5871f; } 57 | 58 | /* a variable name */ 59 | .var { 60 | color: #c82829; } 61 | 62 | /* a function name */ 63 | .fun { 64 | color: #4271ae; } } 65 | /* Use higher contrast and text-weight for printable form. */ 66 | @media print, projection { 67 | .str { 68 | color: #060; } 69 | 70 | .kwd { 71 | color: #006; 72 | font-weight: bold; } 73 | 74 | .com { 75 | color: #600; 76 | font-style: italic; } 77 | 78 | .typ { 79 | color: #404; 80 | font-weight: bold; } 81 | 82 | .lit { 83 | color: #044; } 84 | 85 | .pun, .opn, .clo { 86 | color: #440; } 87 | 88 | .tag { 89 | color: #006; 90 | font-weight: bold; } 91 | 92 | .atn { 93 | color: #404; } 94 | 95 | .atv { 96 | color: #060; } } 97 | /* Style */ 98 | /* 99 | pre.prettyprint { 100 | background: white; 101 | font-family: Consolas, Monaco, 'Andale Mono', monospace; 102 | font-size: 12px; 103 | line-height: 1.5; 104 | border: 1px solid #ccc; 105 | padding: 10px; } 106 | */ 107 | 108 | /* Specify class=linenums on a pre to get line numbering */ 109 | ol.linenums { 110 | margin-top: 0; 111 | margin-bottom: 0; } 112 | 113 | /* IE indents via margin-left */ 114 | li.L0, 115 | li.L1, 116 | li.L2, 117 | li.L3, 118 | li.L4, 119 | li.L5, 120 | li.L6, 121 | li.L7, 122 | li.L8, 123 | li.L9 { 124 | /* */ } 125 | 126 | /* Alternate shading for lines */ 127 | li.L1, 128 | li.L3, 129 | li.L5, 130 | li.L7, 131 | li.L9 { 132 | /* */ } 133 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.4/fonts/OpenSans-Bold-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.4/fonts/OpenSans-Bold-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.4/fonts/OpenSans-Bold-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.4/fonts/OpenSans-Bold-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.4/fonts/OpenSans-BoldItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.4/fonts/OpenSans-BoldItalic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.4/fonts/OpenSans-BoldItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.4/fonts/OpenSans-BoldItalic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.4/fonts/OpenSans-Italic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.4/fonts/OpenSans-Italic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.4/fonts/OpenSans-Italic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.4/fonts/OpenSans-Italic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.4/fonts/OpenSans-Light-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.4/fonts/OpenSans-Light-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.4/fonts/OpenSans-Light-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.4/fonts/OpenSans-Light-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.4/fonts/OpenSans-LightItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.4/fonts/OpenSans-LightItalic-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.4/fonts/OpenSans-LightItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.4/fonts/OpenSans-LightItalic-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.4/fonts/OpenSans-Regular-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.4/fonts/OpenSans-Regular-webfont.eot -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.4/fonts/OpenSans-Regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/docs/reference-docs/stable/v0.1.4/fonts/OpenSans-Regular-webfont.woff -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.4/scripts/linenumber.js: -------------------------------------------------------------------------------- 1 | /*global document */ 2 | (function() { 3 | var source = document.getElementsByClassName('prettyprint source linenums'); 4 | var i = 0; 5 | var lineNumber = 0; 6 | var lineId; 7 | var lines; 8 | var totalLines; 9 | var anchorHash; 10 | 11 | if (source && source[0]) { 12 | anchorHash = document.location.hash.substring(1); 13 | lines = source[0].getElementsByTagName('li'); 14 | totalLines = lines.length; 15 | 16 | for (; i < totalLines; i++) { 17 | lineNumber++; 18 | lineId = 'line' + lineNumber; 19 | lines[i].id = lineId; 20 | if (lineId === anchorHash) { 21 | lines[i].className += ' selected'; 22 | } 23 | } 24 | } 25 | })(); 26 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.4/scripts/prettify/lang-css.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\n "]],[["str",/^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/,null],["str",/^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/,null],["lang-css-str",/^url\(([^"')]*)\)/i],["kwd",/^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["com", 2 | /^(?:<\!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]); 3 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.4/styles/prettify-jsdoc.css: -------------------------------------------------------------------------------- 1 | /* JSDoc prettify.js theme */ 2 | 3 | /* plain text */ 4 | .pln { 5 | color: #000000; 6 | font-weight: normal; 7 | font-style: normal; 8 | } 9 | 10 | /* string content */ 11 | .str { 12 | color: #006400; 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | 17 | /* a keyword */ 18 | .kwd { 19 | color: #000000; 20 | font-weight: bold; 21 | font-style: normal; 22 | } 23 | 24 | /* a comment */ 25 | .com { 26 | font-weight: normal; 27 | font-style: italic; 28 | } 29 | 30 | /* a type name */ 31 | .typ { 32 | color: #000000; 33 | font-weight: normal; 34 | font-style: normal; 35 | } 36 | 37 | /* a literal value */ 38 | .lit { 39 | color: #006400; 40 | font-weight: normal; 41 | font-style: normal; 42 | } 43 | 44 | /* punctuation */ 45 | .pun { 46 | color: #000000; 47 | font-weight: bold; 48 | font-style: normal; 49 | } 50 | 51 | /* lisp open bracket */ 52 | .opn { 53 | color: #000000; 54 | font-weight: bold; 55 | font-style: normal; 56 | } 57 | 58 | /* lisp close bracket */ 59 | .clo { 60 | color: #000000; 61 | font-weight: bold; 62 | font-style: normal; 63 | } 64 | 65 | /* a markup tag name */ 66 | .tag { 67 | color: #006400; 68 | font-weight: normal; 69 | font-style: normal; 70 | } 71 | 72 | /* a markup attribute name */ 73 | .atn { 74 | color: #006400; 75 | font-weight: normal; 76 | font-style: normal; 77 | } 78 | 79 | /* a markup attribute value */ 80 | .atv { 81 | color: #006400; 82 | font-weight: normal; 83 | font-style: normal; 84 | } 85 | 86 | /* a declaration */ 87 | .dec { 88 | color: #000000; 89 | font-weight: bold; 90 | font-style: normal; 91 | } 92 | 93 | /* a variable name */ 94 | .var { 95 | color: #000000; 96 | font-weight: normal; 97 | font-style: normal; 98 | } 99 | 100 | /* a function name */ 101 | .fun { 102 | color: #000000; 103 | font-weight: bold; 104 | font-style: normal; 105 | } 106 | 107 | /* Specify class=linenums on a pre to get line numbering */ 108 | ol.linenums { 109 | margin-top: 0; 110 | margin-bottom: 0; 111 | } 112 | -------------------------------------------------------------------------------- /docs/reference-docs/stable/v0.1.4/styles/prettify-tomorrow.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Theme */ 2 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 3 | /* Pretty printing styles. Used with prettify.js. */ 4 | /* SPAN elements with the classes below are added by prettyprint. */ 5 | /* plain text */ 6 | .pln { 7 | color: #4d4d4c; } 8 | 9 | @media screen { 10 | /* string content */ 11 | .str { 12 | color: #718c00; } 13 | 14 | /* a keyword */ 15 | .kwd { 16 | color: #8959a8; } 17 | 18 | /* a comment */ 19 | .com { 20 | color: #8e908c; } 21 | 22 | /* a type name */ 23 | .typ { 24 | color: #4271ae; } 25 | 26 | /* a literal value */ 27 | .lit { 28 | color: #f5871f; } 29 | 30 | /* punctuation */ 31 | .pun { 32 | color: #4d4d4c; } 33 | 34 | /* lisp open bracket */ 35 | .opn { 36 | color: #4d4d4c; } 37 | 38 | /* lisp close bracket */ 39 | .clo { 40 | color: #4d4d4c; } 41 | 42 | /* a markup tag name */ 43 | .tag { 44 | color: #c82829; } 45 | 46 | /* a markup attribute name */ 47 | .atn { 48 | color: #f5871f; } 49 | 50 | /* a markup attribute value */ 51 | .atv { 52 | color: #3e999f; } 53 | 54 | /* a declaration */ 55 | .dec { 56 | color: #f5871f; } 57 | 58 | /* a variable name */ 59 | .var { 60 | color: #c82829; } 61 | 62 | /* a function name */ 63 | .fun { 64 | color: #4271ae; } } 65 | /* Use higher contrast and text-weight for printable form. */ 66 | @media print, projection { 67 | .str { 68 | color: #060; } 69 | 70 | .kwd { 71 | color: #006; 72 | font-weight: bold; } 73 | 74 | .com { 75 | color: #600; 76 | font-style: italic; } 77 | 78 | .typ { 79 | color: #404; 80 | font-weight: bold; } 81 | 82 | .lit { 83 | color: #044; } 84 | 85 | .pun, .opn, .clo { 86 | color: #440; } 87 | 88 | .tag { 89 | color: #006; 90 | font-weight: bold; } 91 | 92 | .atn { 93 | color: #404; } 94 | 95 | .atv { 96 | color: #060; } } 97 | /* Style */ 98 | /* 99 | pre.prettyprint { 100 | background: white; 101 | font-family: Consolas, Monaco, 'Andale Mono', monospace; 102 | font-size: 12px; 103 | line-height: 1.5; 104 | border: 1px solid #ccc; 105 | padding: 10px; } 106 | */ 107 | 108 | /* Specify class=linenums on a pre to get line numbering */ 109 | ol.linenums { 110 | margin-top: 0; 111 | margin-bottom: 0; } 112 | 113 | /* IE indents via margin-left */ 114 | li.L0, 115 | li.L1, 116 | li.L2, 117 | li.L3, 118 | li.L4, 119 | li.L5, 120 | li.L6, 121 | li.L7, 122 | li.L8, 123 | li.L9 { 124 | /* */ } 125 | 126 | /* Alternate shading for lines */ 127 | li.L1, 128 | li.L3, 129 | li.L5, 130 | li.L7, 131 | li.L9 { 132 | /* */ } 133 | -------------------------------------------------------------------------------- /gulp-tasks/clean.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 Google Inc. All Rights Reserved. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | /* eslint-env node */ 17 | 18 | 'use strict'; 19 | 20 | const gulp = require('gulp'); 21 | const del = require('del'); 22 | 23 | gulp.task('clean', function() { 24 | return del([global.config.dest]); 25 | }); 26 | -------------------------------------------------------------------------------- /gulp-tasks/scripts.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 Google Inc. All Rights Reserved. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | /* eslint-env node */ 17 | 18 | 'use strict'; 19 | 20 | const gulp = require('gulp'); 21 | const uglify = require('gulp-uglify'); 22 | const sourcemaps = require('gulp-sourcemaps'); 23 | const browserify = require('browserify'); 24 | const buffer = require('vinyl-buffer'); 25 | const source = require('vinyl-source-stream'); 26 | const path = require('path'); 27 | const glob = require('glob'); 28 | const runSequence = require('run-sequence'); 29 | 30 | const bundleJS = function(fullFilePath) { 31 | const browserifyBundles = browserify({ 32 | entries: fullFilePath 33 | }); 34 | 35 | // Rollupify reduces the size of the final output but increases build 36 | // time to do it so enable for production build only 37 | if (global.config.env === 'prod') { 38 | browserifyBundles.transform('rollupify'); 39 | } 40 | 41 | let stream = browserifyBundles 42 | .transform('babelify', {presets: ['es2015']}) 43 | .bundle() 44 | // `source` Converts Browserify's Node Stream to a Gulp Stream 45 | // Use path.relative to make the file have the correct home in `dest` 46 | .pipe( 47 | source(path.join('.', path.relative(global.config.src, fullFilePath))) 48 | ) 49 | .pipe(buffer()) 50 | .pipe(sourcemaps.init()); 51 | 52 | if (global.config.env === 'prod') { 53 | stream = stream.pipe(uglify()); 54 | } 55 | 56 | return stream.pipe(sourcemaps.write('.')) 57 | .pipe(gulp.dest(global.config.dest)); 58 | }; 59 | 60 | const build = function() { 61 | const globResponse = glob.sync(global.config.src + 62 | '/browser/**/*.js', { 63 | dot: false 64 | }); 65 | 66 | return Promise.all(globResponse.map(file => { 67 | return new Promise((resolve, reject) => { 68 | bundleJS(file).on('error', reject).on('end', resolve); 69 | }); 70 | })); 71 | }; 72 | 73 | gulp.task('scripts:transpile', function() { 74 | return build(); 75 | }); 76 | 77 | gulp.task('scripts:copyNode', function() { 78 | return gulp.src([ 79 | '!' + path.join(global.config.src, 'browser', '**', '*.js'), 80 | path.join(global.config.src, '**', '*.js') 81 | ]) 82 | .pipe(gulp.dest(global.config.dest)); 83 | }); 84 | 85 | gulp.task('scripts', function(cb) { 86 | runSequence( 87 | [ 88 | 'scripts:copyNode', 89 | 'scripts:transpile' 90 | ], 91 | cb); 92 | }); 93 | -------------------------------------------------------------------------------- /gulp-tasks/test.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 Google Inc. All Rights Reserved. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | /* eslint-env node */ 17 | 18 | 'use strict'; 19 | 20 | const gulp = require('gulp'); 21 | const path = require('path'); 22 | const TestServer = require('../src/index').TestServer; 23 | 24 | gulp.task('test:manual', function() { 25 | let testServer = new TestServer(); 26 | testServer.startServer(path.join(__dirname, '..'), 8888) 27 | .then(portNumber => { 28 | /* eslint-disable no-console */ 29 | console.log('http://localhost:' + portNumber); 30 | /* eslint-enable no-console */ 31 | }); 32 | }); 33 | -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 Google Inc. All Rights Reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | http://www.apache.org/licenses/LICENSE-2.0 7 | Unless required by applicable law or agreed to in writing, software 8 | distributed under the License is distributed on an "AS IS" BASIS, 9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | See the License for the specific language governing permissions and 11 | limitations under the License. 12 | */ 13 | 14 | 'use strict'; 15 | 16 | /* eslint-env node */ 17 | 18 | const gulp = require('gulp'); 19 | const requireDir = require('require-dir'); 20 | const runSequence = require('run-sequence'); 21 | 22 | requireDir('./gulp-tasks'); 23 | 24 | global.config = { 25 | env: 'prod', 26 | src: 'src', 27 | dest: 'build' 28 | }; 29 | 30 | gulp.task('default', function(cb) { 31 | runSequence( 32 | 'clean', 33 | 'scripts', 34 | cb); 35 | }); 36 | -------------------------------------------------------------------------------- /jsdoc.conf: -------------------------------------------------------------------------------- 1 | { 2 | "source": { 3 | "include": [ 4 | "./src" 5 | ] 6 | }, 7 | "opts": { 8 | "template": "node_modules/npm-publish-scripts/jsdoc-theme/", 9 | "recurse": true 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "sw-testing-helpers", 3 | "version": "1.0.1", 4 | "description": "A set of helper files used to test Propel and sw-toolbox.", 5 | "main": "./build/index.js", 6 | "files": [ 7 | "build/", 8 | "src/" 9 | ], 10 | "scripts": { 11 | "build": "gulp", 12 | "build-docs": "jsdoc -c ./jsdoc.conf -d", 13 | "bundle": "./project/copy-build-files.sh", 14 | "pretest": "node ./test/helpers/download-test-browsers.js", 15 | "test": "npm run build && npm run lint && mocha", 16 | "lint": "eslint '.'", 17 | "publish-release": "publish-release.sh", 18 | "publish-docs": "publish-docs.sh" 19 | }, 20 | "repository": { 21 | "type": "git", 22 | "url": "git+https://github.com/GoogleChrome/sw-testing-helpers.git" 23 | }, 24 | "license": "Apache-2.0", 25 | "bugs": { 26 | "url": "https://github.com/GoogleChrome/sw-testing-helpers/issues" 27 | }, 28 | "homepage": "https://github.com/GoogleChrome/sw-testing-helpers#readme", 29 | "dependencies": { 30 | "chai": "^3.5.0", 31 | "del": "^2.2.0", 32 | "express": "^4.13.4", 33 | "mocha": "^3.0.2" 34 | }, 35 | "devDependencies": { 36 | "babel-preset-es2015": "^6.6.0", 37 | "babelify": "^7.2.0", 38 | "browserify": "^13.0.0", 39 | "chromedriver": "^2.28.0", 40 | "eslint": "^3.12.1", 41 | "eslint-config-google": "^0.7.1", 42 | "geckodriver": "1.4.0", 43 | "glob": "^7.0.3", 44 | "gulp": "^3.9.1", 45 | "gulp-mocha": "^3.0.1", 46 | "gulp-sourcemaps": "^1.6.0", 47 | "gulp-uglify": "^2.0.0", 48 | "jsdoc": "^3.4.0", 49 | "node-fetch": "^1.5.0", 50 | "npm-publish-scripts": "^2.0.6", 51 | "require-dir": "^0.3.0", 52 | "rollupify": "^0.3.1", 53 | "run-sequence": "^1.1.5", 54 | "selenium-assistant": "^5.0.4", 55 | "vinyl-buffer": "^1.0.0", 56 | "vinyl-source-stream": "^1.1.0" 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /project/copy-build-files.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | ######################################################################### 5 | # 6 | # GUIDE TO USE OF THIS SCRIPT 7 | # 8 | ######################################################################### 9 | # 10 | # - This script is used by npm run bundle in this probject and serves 11 | # solely as an example 12 | # 13 | ######################################################################### 14 | 15 | if [ "$BASH_VERSION" = '' ]; then 16 | echo " Please run this script via this command: './project/publish-docs.sh'" 17 | exit 1; 18 | fi 19 | 20 | if [ -z "$1" ]; then 21 | echo " Bad input: Expected a directory as the first argument for the path to put the final bundle files into (i.e. ./tagged-release)"; 22 | exit 1; 23 | fi 24 | 25 | # This isn't needed unless run outside of publish-release script 26 | mkdir -p $1 27 | 28 | cp -r ./docs $1 29 | cp -r ./src $1 30 | cp -r ./build/. $1 31 | cp -r ./project $1 32 | cp LICENSE $1 33 | cp package.json $1 34 | cp README.md $1 35 | -------------------------------------------------------------------------------- /src/browser/mocha-utils.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2016 Google Inc. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | * 16 | */ 17 | 18 | /* global require */ 19 | /* eslint-env browser */ 20 | 21 | (() => { 22 | const mochaUtils = require('../utils/mocha.js'); 23 | 24 | /* eslint-disable no-negated-condition */ 25 | if (typeof window === 'undefined') { 26 | self.goog = self.goog || {}; 27 | self.goog.mochaUtils = self.goog.mochaUtils || mochaUtils; 28 | 29 | self.addEventListener('message', event => { 30 | switch (event.data) { 31 | case 'ready-check': { 32 | event.ports[0].postMessage({ 33 | ready: true 34 | }); 35 | break; 36 | } 37 | case 'start-tests': { 38 | self.goog.mochaUtils.startInBrowserMochaTests() 39 | .then(results => { 40 | event.ports[0].postMessage(results); 41 | }); 42 | break; 43 | } 44 | default: { 45 | event.ports[0].postMessage({ 46 | error: 'Unknown test name: ' + event.data 47 | }); 48 | break; 49 | } 50 | } 51 | }); 52 | } else { 53 | window.goog = window.goog || {}; 54 | window.goog.mochaUtils = window.goog.mochaUtils || mochaUtils; 55 | } 56 | })(); 57 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2016 Google Inc. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | * 16 | */ 17 | 18 | 'use strict'; 19 | 20 | /* eslint-env node */ 21 | 22 | const TestServer = require('./node/test-server'); 23 | const mochaUtils = require('./utils/mocha'); 24 | 25 | /** 26 | *

    sw-testing-helpers can be used in node, a browser or in a service worker. 27 | * Different classes are exposed depending on what is imported and where.

    28 | * 29 | *

    When you require `sw-testing-helpers` you'll have access to a few 30 | * parameters

    31 | * 32 | *

    require('sw-testing-helpers').TestServer;
    33 |  * require('sw-testing-helpers').mochaUtils;

    34 | * 35 | * @module sw-testing-helpers 36 | * @property {TestServer} TestServer The TestServer class that can be 37 | * extended and instantiated. 38 | * @property {MochaUtils} mochaUtils An instance of the MochaUtils class. 39 | */ 40 | module.exports = { 41 | TestServer: TestServer, 42 | mochaUtils: mochaUtils 43 | }; 44 | -------------------------------------------------------------------------------- /test/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "node": true, 4 | "mocha": true 5 | }, 6 | "rules": { 7 | "max-len": 0, 8 | "no-console": 0, 9 | "padded-blocks": 0, 10 | "no-multiple-empty-lines": 0, 11 | "no-unused-expressions": 0, 12 | "no-invalid-this": 0 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/browser-tests/index.html: -------------------------------------------------------------------------------- 1 | 13 | 14 | 15 | 16 | Browser Tests 17 | 18 | 19 | 23 | 29 | 30 | 31 |
    32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 66 | 67 | 68 | -------------------------------------------------------------------------------- /test/browser-tests/window-utils/clear-all-caches.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 Google Inc. All Rights Reserved. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // This is a test and we want descriptions to be useful, if this 18 | // breaks the max-length, it's ok. 19 | 20 | /* eslint-disable max-len, no-unused-expressions */ 21 | /* eslint-env browser, mocha */ 22 | 23 | 'use strict'; 24 | 25 | describe('Test swUtils.clearAllCaches()', function() { 26 | 27 | it('should resolve with nothing to clear', function() { 28 | return window.goog.swUtils.clearAllCaches(); 29 | }); 30 | 31 | it('should resolve after deleting all caches', function() { 32 | return window.caches.open('hello') 33 | .then(cache => { 34 | return cache.put('/', new Response('hello')); 35 | }) 36 | .then(() => { 37 | return window.caches.open('hello-2'); 38 | }) 39 | .then(cache => { 40 | return cache.put('/', new Response('hello-2')); 41 | }) 42 | .then(() => { 43 | return window.goog.swUtils.clearAllCaches(); 44 | }) 45 | .then(() => { 46 | return window.caches.keys(); 47 | }) 48 | .then(cacheKeys => { 49 | cacheKeys.length.should.equal(0); 50 | }); 51 | }); 52 | 53 | }); 54 | -------------------------------------------------------------------------------- /test/browser-tests/window-utils/controlled-by-sw.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 Google Inc. All Rights Reserved. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // This is a test and we want descriptions to be useful, if this 18 | // breaks the max-length, it's ok. 19 | 20 | /* eslint-disable max-len, no-unused-expressions */ 21 | /* eslint-env browser, mocha */ 22 | /* global chai:false */ 23 | 24 | 'use strict'; 25 | 26 | describe('Test swUtils.controlledBySW()', function() { 27 | const SERVICE_WORKER_PATH = '/test/browser-tests/window-utils/serviceworkers'; 28 | 29 | beforeEach(function() { 30 | return window.goog.swUtils.cleanState(); 31 | }); 32 | 33 | after(function() { 34 | return window.goog.swUtils.cleanState(); 35 | }); 36 | 37 | it('should reject when called with no arguments', function() { 38 | return window.goog.swUtils.controlledBySW() 39 | .then(() => { 40 | throw new Error('Should have rejected'); 41 | }, () => {}); 42 | }); 43 | 44 | it('should reject when called with an array argument', function() { 45 | return window.goog.swUtils.controlledBySW([]) 46 | .then(() => { 47 | throw new Error('Should have rejected'); 48 | }, () => {}); 49 | }); 50 | 51 | it('should reject called with an object argument', function() { 52 | return window.goog.swUtils.controlledBySW({}) 53 | .then(() => { 54 | throw new Error('Should have rejected'); 55 | }, () => {}); 56 | }); 57 | 58 | it('should reject when used with an invalid service worker path', function() { 59 | return window.goog.swUtils.controlledBySW(SERVICE_WORKER_PATH + '/sw-doesnt-exist.js') 60 | .then(() => { 61 | throw new Error('Should have rejected'); 62 | }, () => {}); 63 | }); 64 | 65 | it('should reject when used with a service worker that fails to install', function() { 66 | return window.goog.swUtils.controlledBySW(SERVICE_WORKER_PATH + '/sw-broken-install.js') 67 | .then(() => { 68 | throw new Error('Should have rejected'); 69 | }, () => {}); 70 | }); 71 | 72 | it('should resolve once the service worker controls the iframe', function() { 73 | return window.goog.swUtils.controlledBySW(SERVICE_WORKER_PATH + '/immediate-control.js') 74 | .then(iframe => { 75 | chai.expect(iframe.contentWindow.navigator.serviceWorker.controller).to.exist; 76 | }); 77 | }); 78 | }); 79 | -------------------------------------------------------------------------------- /test/browser-tests/window-utils/get-iframe.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 Google Inc. All Rights Reserved. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // This is a test and we want descriptions to be useful, if this 18 | // breaks the max-length, it's ok. 19 | 20 | /* eslint-disable max-len, no-unused-expressions */ 21 | /* eslint-env browser, mocha */ 22 | 23 | 'use strict'; 24 | 25 | describe('Test swUtils.getIframe()', function() { 26 | let firstIframeSrc = null; 27 | 28 | beforeEach(function() { 29 | return window.goog.swUtils.cleanState(); 30 | }); 31 | 32 | after(function() { 33 | return window.goog.swUtils.cleanState(); 34 | }); 35 | 36 | it('should create a new iframe with a src starting with /test/iframe', function() { 37 | return window.goog.swUtils.getIframe() 38 | .then(iframe => { 39 | iframe.should.be.defined; 40 | iframe.src.should.be.defined; 41 | iframe.src.indexOf('/test/iframe/').should.not.equal(-1); 42 | 43 | firstIframeSrc = iframe.src; 44 | }); 45 | }); 46 | 47 | it('should create a new iframe with unique src', function() { 48 | return window.goog.swUtils.getIframe() 49 | .then(iframe => { 50 | firstIframeSrc.should.not.equal(iframe.src); 51 | }); 52 | }); 53 | 54 | it('should return the same iframe in the same test', function() { 55 | let firstIframe = 0; 56 | return window.goog.swUtils.getIframe() 57 | .then(iframe => { 58 | firstIframe = iframe; 59 | return window.goog.swUtils.getIframe(); 60 | }) 61 | .then(iframe => { 62 | iframe.should.equal(firstIframe); 63 | }); 64 | }); 65 | }); 66 | -------------------------------------------------------------------------------- /test/browser-tests/window-utils/library.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 Google Inc. All Rights Reserved. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // This is a test and we want descriptions to be useful, if this 18 | // breaks the max-length, it's ok. 19 | 20 | /* eslint-disable max-len, no-unused-expressions */ 21 | /* eslint-env browser, mocha */ 22 | 23 | 'use strict'; 24 | 25 | describe('Test swUtils Library', function() { 26 | it('should load window.goog.swUtils without leaks', function() { 27 | return new Promise((resolve, reject) => { 28 | // By leaks this is referring to the only thing Propel 29 | // should add to the global scope (i.e. window) is goog 30 | const scriptElement = document.createElement('script'); 31 | scriptElement.setAttribute('type', 'text/javascript'); 32 | scriptElement.src = '/build/browser/sw-utils.js'; 33 | document.querySelector('head').appendChild(scriptElement); 34 | scriptElement.onerror = () => { 35 | reject(new Error('Unable to load script.')); 36 | }; 37 | scriptElement.onload = () => { 38 | window.goog.swUtils.should.be.defined; 39 | 40 | resolve(); 41 | }; 42 | }); 43 | }); 44 | 45 | it('should be able to find window.goog.swUtils', () => { 46 | window.goog.swUtils.should.be.defined; 47 | }); 48 | }); 49 | -------------------------------------------------------------------------------- /test/browser-tests/window-utils/serviceworkers/example-tests.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 Google Inc. All Rights Reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | http://www.apache.org/licenses/LICENSE-2.0 7 | Unless required by applicable law or agreed to in writing, software 8 | distributed under the License is distributed on an "AS IS" BASIS, 9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | See the License for the specific language governing permissions and 11 | limitations under the License. 12 | */ 13 | 14 | 'use strict'; 15 | 16 | /* eslint-env worker, serviceworker, mocha */ 17 | 18 | importScripts('/node_modules/mocha/mocha.js'); 19 | importScripts('/node_modules/chai/chai.js'); 20 | importScripts('/build/browser/mocha-utils.js'); 21 | 22 | self.chai.should(); 23 | mocha.setup({ 24 | ui: 'bdd', 25 | reporter: null 26 | }); 27 | 28 | mocha.checkLeaks(); 29 | mocha.globals(['goog']); 30 | 31 | describe('Example SW Tests', function() { 32 | it('should do nothing', function() { 33 | 34 | }); 35 | 36 | it('should be able to identify a Date as a Date', function() { 37 | (new Date() instanceof Date).should.equal(true); 38 | }); 39 | 40 | it('[NOTE: This is designed to be an error in SW. Used to test that errors bubble up same as passed tests. Passing tests while printing a failing error is by design and is "A OK".]', function() { 41 | throw new Error('I`m an Error. Hi.'); 42 | }); 43 | }); 44 | -------------------------------------------------------------------------------- /test/browser-tests/window-utils/serviceworkers/immediate-control.js: -------------------------------------------------------------------------------- 1 | /* global self:false */ 2 | 3 | // This is used by the controlled-by-sw.js test. 4 | // It's a service worker that activates & takes control of clients immediately. 5 | // It specifically does not wrap the calls with event.waitUntil(); 6 | // see https://github.com/GoogleChrome/sw-testing-helpers/pull/54#discussion_r107965709 7 | 8 | self.addEventListener('install', () => self.skipWaiting()); 9 | self.addEventListener('activate', () => self.clients.claim()); 10 | -------------------------------------------------------------------------------- /test/browser-tests/window-utils/serviceworkers/sw-1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/test/browser-tests/window-utils/serviceworkers/sw-1.js -------------------------------------------------------------------------------- /test/browser-tests/window-utils/serviceworkers/sw-2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleChromeLabs/sw-testing-helpers/e8504865d37348699dc3fb9f3ad4f2ee669ce920/test/browser-tests/window-utils/serviceworkers/sw-2.js -------------------------------------------------------------------------------- /test/browser-tests/window-utils/serviceworkers/sw-broken-install.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2016 Google Inc. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | * 16 | */ 17 | 18 | 'use strict'; 19 | 20 | /* eslint-env serviceworker */ 21 | 22 | self.addEventListener('install', event => { 23 | event.waitUntil( 24 | Promise.resolve() 25 | .then(() => { 26 | return Promise.reject('Nope - sorry.'); 27 | }) 28 | ); 29 | }); 30 | -------------------------------------------------------------------------------- /test/browser-tests/window-utils/serviceworkers/sw-no-tests.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 Google Inc. All Rights Reserved. 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | http://www.apache.org/licenses/LICENSE-2.0 7 | Unless required by applicable law or agreed to in writing, software 8 | distributed under the License is distributed on an "AS IS" BASIS, 9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | See the License for the specific language governing permissions and 11 | limitations under the License. 12 | */ 13 | 14 | 'use strict'; 15 | 16 | /* eslint-env worker, serviceworker, mocha */ 17 | 18 | importScripts('/node_modules/mocha/mocha.js'); 19 | importScripts('/node_modules/chai/chai.js'); 20 | importScripts('/build/browser/mocha-utils.js'); 21 | 22 | self.chai.should(); 23 | mocha.setup({ 24 | ui: 'bdd', 25 | reporter: null 26 | }); 27 | -------------------------------------------------------------------------------- /test/browser-tests/window-utils/unregister-all-registrations.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 Google Inc. All Rights Reserved. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // This is a test and we want descriptions to be useful, if this 18 | // breaks the max-length, it's ok. 19 | 20 | /* eslint-disable max-len, no-unused-expressions */ 21 | /* eslint-env browser, mocha */ 22 | 23 | 'use strict'; 24 | 25 | describe('Test swUtils.unregisterAllRegistrations()', function() { 26 | const SERVICE_WORKER_PATH = '/test/browser-tests/window-utils/serviceworkers'; 27 | 28 | it('should resolve with nothing to unregister', function() { 29 | return window.goog.swUtils.unregisterAllRegistrations(); 30 | }); 31 | 32 | it('should resolve after unregistering service workers', function() { 33 | return navigator.serviceWorker.register(SERVICE_WORKER_PATH + '/sw-1.js') 34 | .then(() => { 35 | return navigator.serviceWorker.register(SERVICE_WORKER_PATH + '/sw-2.js'); 36 | }) 37 | .then(() => { 38 | return window.goog.swUtils.unregisterAllRegistrations(); 39 | }) 40 | .then(() => { 41 | return navigator.serviceWorker.getRegistrations(); 42 | }) 43 | .then(registrations => { 44 | registrations.length.should.equal(0); 45 | }); 46 | }); 47 | 48 | }); 49 | -------------------------------------------------------------------------------- /test/helpers/download-test-browsers.js: -------------------------------------------------------------------------------- 1 | const seleniumAssistant = require('selenium-assistant'); 2 | 3 | const promises = [ 4 | seleniumAssistant.downloadLocalBrowser('chrome', 'stable', 48), 5 | seleniumAssistant.downloadLocalBrowser('chrome', 'beta', 48), 6 | seleniumAssistant.downloadLocalBrowser('chrome', 'unstable', 48), 7 | seleniumAssistant.downloadLocalBrowser('firefox', 'stable', 48), 8 | seleniumAssistant.downloadLocalBrowser('firefox', 'beta', 48), 9 | seleniumAssistant.downloadLocalBrowser('firefox', 'unstable', 48) 10 | ]; 11 | 12 | Promise.all(promises) 13 | .then(() => { 14 | console.log('Browser download complete.'); 15 | }) 16 | .catch(err => { 17 | console.log('Failed to download browsers.', err); 18 | }); 19 | -------------------------------------------------------------------------------- /test/node-tests.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 Google Inc. All Rights Reserved. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | 'use strict'; 18 | 19 | const path = require('path'); 20 | const glob = require('glob'); 21 | const chai = require('chai'); 22 | 23 | chai.should(); 24 | 25 | describe('Perform Node Tests', function() { 26 | const globPattern = path.join(__dirname, 'node-tests', '/') + '*.js'; 27 | const testFiles = glob.sync(globPattern); 28 | testFiles.forEach(testFile => { 29 | require(testFile); 30 | }); 31 | }); 32 | -------------------------------------------------------------------------------- /test/node-tests/library.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 Google Inc. All Rights Reserved. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // This is a test and we want descriptions to be useful, if this 18 | // breaks the max-length, it's ok. 19 | 20 | /* eslint-disable max-len, no-unused-expressions */ 21 | /* eslint-env browser, mocha */ 22 | 23 | 'use strict'; 24 | 25 | const path = require('path'); 26 | 27 | describe('Test require of sw-testing-helpers', function() { 28 | 29 | it('should be able get the node utils from package.json main', () => { 30 | const packageJson = require('../../package.json'); 31 | 32 | // The /project/copy-build-files.sh script will ensure files in build 33 | // will be places in the root of the published directory so 34 | // check the file is in build 35 | const testingHelper = require(path.join('..', '..', packageJson.main)); 36 | testingHelper.mochaUtils.should.be.defined; 37 | testingHelper.TestServer.should.be.defined; 38 | }); 39 | }); 40 | --------------------------------------------------------------------------------