UNPKG

hexo-theme-sb

Version:

Clean and simple theme for Hexo blog framework

32 lines (25 loc) 4.28 kB
<html> <head> </head> <body style="background: transparent;"> <script src="scripts/docstrap.lib.js"></script> <script src="scripts/lunr.min.js"></script> <script src="scripts/fulltext-search.js"></script> <script type="text/x-docstrap-searchdb"> {"modules.list.html":{"id":"modules.list.html","title":"Modules","body":" Documentation Modules CriticalFOFTDeferredStyles Classes CriticalFOFT~FontFaceObserver Modules Classes FontFaceObserver × Search results Close Documentation generated by JSDoc 3.5.5 on February 25th 2018, 10:35:39 pm using the DocStrap template. "},"classes.list.html":{"id":"classes.list.html","title":"Classes","body":" Documentation Modules CriticalFOFTDeferredStyles Classes CriticalFOFT~FontFaceObserver Classes Classes FontFaceObserver × Search results Close Documentation generated by JSDoc 3.5.5 on February 25th 2018, 10:35:39 pm using the DocStrap template. "},"index.html":{"id":"index.html","title":"Index","body":" Documentation Modules CriticalFOFTDeferredStyles Classes CriticalFOFT~FontFaceObserver Starter Project A set of gulp tasks that helps you develop high performant websites using latest best practices. × Search results Close Documentation generated by JSDoc 3.5.5 on February 25th 2018, 10:35:39 pm using the DocStrap template. "},"module-CriticalFOFT.html":{"id":"module-CriticalFOFT.html","title":"Module: CriticalFOFT","body":" Documentation Modules CriticalFOFTDeferredStyles Classes CriticalFOFT~FontFaceObserver Module: CriticalFOFT A better font loading using FontFaceObserver. Author: Zach Leatherman See: https://www.zachleat.com/web/comprehensive-webfonts/#critical-foft Classes FontFaceObserver Members &lt;inner, constant&gt; fontA :Object Default font type. Type: Object &lt;inner, constant&gt; fontASubset :Object A subset of default font type. Type: Object Methods &lt;inner&gt; Anonymous self-invoked function() Adds classes to document when each font loads successfully. If fonts are already loaded, then skip loading. &lt;inner&gt; Promise() A promise that adds 'fonts-stage-2' if fontA are loaded successfully. Also, set Critical FOFT session variable to true. &lt;inner&gt; Promise() A promise that adds 'fonts-stage-1' if fontASubset is loaded successfully. × Search results Close Documentation generated by JSDoc 3.5.5 on February 25th 2018, 10:35:39 pm using the DocStrap template. "},"module-CriticalFOFT-FontFaceObserver.html":{"id":"module-CriticalFOFT-FontFaceObserver.html","title":"Class: FontFaceObserver","body":" Documentation Modules CriticalFOFTDeferredStyles Classes CriticalFOFT~FontFaceObserver Class: FontFaceObserver CriticalFOFT~ FontFaceObserver new FontFaceObserver() Author: Zach Leatherman See: https://www.zachleat.com/web/comprehensive-webfonts/#critical-foft × Search results Close Documentation generated by JSDoc 3.5.5 on February 25th 2018, 10:35:39 pm using the DocStrap template. "},"module-DeferredStyles.html":{"id":"module-DeferredStyles.html","title":"Module: DeferredStyles","body":" Documentation Modules CriticalFOFTDeferredStyles Classes CriticalFOFT~FontFaceObserver Module: DeferredStyles A better CSS Loading. Author: Google Developers See: https://developers.google.com/speed/docs/insights/OptimizeCSSDelivery Members &lt;inner, constant&gt; addStylesNode :HTMLElement HTML element #deferredStyles; Type: HTMLElement &lt;inner, constant&gt; replacement :HTMLElement New empty div that will be appended at the end of the body. In it we will load our styles. Type: HTMLElement Methods &lt;inner&gt; loadDeferredStyles() Loads CSS files by deferring them to the end. × Search results Close Documentation generated by JSDoc 3.5.5 on February 25th 2018, 10:35:39 pm using the DocStrap template. "}} </script> <script type="text/javascript"> $(document).ready(function() { Searcher.init(); }); $(window).on("message", function(msg) { var msgData = msg.originalEvent.data; if (msgData.msgid != "docstrap.quicksearch.start") { return; } var results = Searcher.search(msgData.searchTerms); window.parent.postMessage({"results": results, "msgid": "docstrap.quicksearch.done"}, "*"); }); </script> </body> </html>