From b63193824a1c36347a46f365664622ca7438f42a Mon Sep 17 00:00:00 2001 From: wing328 Date: Wed, 14 Jun 2017 23:29:31 +0800 Subject: [PATCH] update html2 petstore sample --- samples/html2/index.html | 790 ++++++++++++++------------------------- 1 file changed, 288 insertions(+), 502 deletions(-) diff --git a/samples/html2/index.html b/samples/html2/index.html index 4d24fc1a9d4..0fedba1c4a3 100644 --- a/samples/html2/index.html +++ b/samples/html2/index.html @@ -112,11 +112,6 @@ h={};g()}};typeof define==="function"&&define.amd&&define("google-code-prettify" }); } - - // load google web fonts - loadGoogleFontCss(); - - // Bootstrap Scrollspy $(this).scrollspy({ target: '#scrollingNav', offset: 18 }); @@ -158,21 +153,6 @@ h={};g()}};typeof define==="function"&&define.amd&&define("google-code-prettify" //Convert elements with "marked" class to markdown processMarked(); - - /** - * Load google fonts. - */ - function loadGoogleFontCss() { - WebFont.load({ - active: function() { - // Update scrollspy - $(window).scrollspy('refresh') - }, - google: { - families: ['Source Code Pro', 'Source Sans Pro:n4,n6,n7'] - } - }); - } });