David PHAM-VAN

Update gh-pages

@@ -150,6 +150,7 @@ ref: @@ -150,6 +150,7 @@ ref:
150 gh-pages: 150 gh-pages:
151 cd printing/example; flutter build web 151 cd printing/example; flutter build web
152 git checkout gh-pages 152 git checkout gh-pages
153 - mv -f printing/example/build/web/* . 153 + rm -rf assets icons
  154 + mv -fv printing/example/build/web/* .
154 155
155 .PHONY: test format format-dart format-clang clean publish-pdf publish-printing analyze ref 156 .PHONY: test format format-dart format-clang clean publish-pdf publish-printing analyze ref
@@ -12,7 +12,6 @@ dependencies: @@ -12,7 +12,6 @@ dependencies:
12 printing: 12 printing:
13 path_provider: 13 path_provider:
14 flutter_full_pdf_viewer: 14 flutter_full_pdf_viewer:
15 - cupertino_icons:  
16 markdown: 15 markdown:
17 16
18 dev_dependencies: 17 dev_dependencies:
@@ -3,7 +3,8 @@ @@ -3,7 +3,8 @@
3 <head> 3 <head>
4 <meta charset="UTF-8"> 4 <meta charset="UTF-8">
5 <meta content="IE=Edge" http-equiv="X-UA-Compatible"> 5 <meta content="IE=Edge" http-equiv="X-UA-Compatible">
6 - <meta name="description" content="A new Flutter project."> 6 + <meta name="description" content="Pdf Printing Example">
  7 + <link rel="shortcut icon" href="/icons/Icon-192.png" type="image/png">
7 8
8 <!-- iOS meta tags & icons --> 9 <!-- iOS meta tags & icons -->
9 <meta name="apple-mobile-web-app-capable" content="yes"> 10 <meta name="apple-mobile-web-app-capable" content="yes">
@@ -11,10 +12,20 @@ @@ -11,10 +12,20 @@
11 <meta name="apple-mobile-web-app-title" content="example"> 12 <meta name="apple-mobile-web-app-title" content="example">
12 <link rel="apple-touch-icon" href="/icons/Icon-192.png"> 13 <link rel="apple-touch-icon" href="/icons/Icon-192.png">
13 14
14 - <title>example</title> 15 + <title>Pdf Printing Example</title>
15 <link rel="manifest" href="/manifest.json"> 16 <link rel="manifest" href="/manifest.json">
16 </head> 17 </head>
17 <body> 18 <body>
  19 + <!-- This script installs service_worker.js to provide PWA functionality to
  20 + application. For more information, see:
  21 + https://developers.google.com/web/fundamentals/primers/service-workers -->
  22 + <script>
  23 + if ('serviceWorker' in navigator) {
  24 + window.addEventListener('load', function () {
  25 + navigator.serviceWorker.register('/flutter_service_worker.js');
  26 + });
  27 + }
  28 + </script>
18 <script src="main.dart.js" type="application/javascript"></script> 29 <script src="main.dart.js" type="application/javascript"></script>
19 </body> 30 </body>
20 </html> 31 </html>