Sitic has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/225551

Change subject: Serve material-design-icons from cdnjs
......................................................................

Serve material-design-icons from cdnjs

Bug: T105980

Change-Id: Ie7768b827314dcc46013b88bdf86cea3924ec473
---
M README.md
M frontend/bower.json
M frontend/src/app/index.css
3 files changed, 6 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/crosswatch 
refs/changes/51/225551/1

diff --git a/README.md b/README.md
index 456f67d..ea5ad0e 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@
 sudo npm install -g gulp bower
 cd frontend
 npm install
-bower install
+bower install --production
 ```
 
 While developing use `gulp serve` to preview changes and `gulp build` to
diff --git a/frontend/bower.json b/frontend/bower.json
index 65f8510..4db058a 100644
--- a/frontend/bower.json
+++ b/frontend/bower.json
@@ -15,10 +15,10 @@
     "angular-local-storage": "0.2.x",
     "angular-motion": "~0.4.2",
     "angular-material": "~0.10.0",
-    "material-design-icons": "~2.0.0",
     "ngInfiniteScroll": "~1.2.1"
   },
   "devDependencies": {
+    "material-design-icons": "~2.0.0",
     "angular-mocks": "~1.4.0"
   },
   "resolutions": {
diff --git a/frontend/src/app/index.css b/frontend/src/app/index.css
index a7538bd..c9bbbf5 100644
--- a/frontend/src/app/index.css
+++ b/frontend/src/app/index.css
@@ -268,12 +268,12 @@
   font-family: 'Material Icons';
   font-style: normal;
   font-weight: 400;
-  src: url(//tools.wmflabs.org/crosswatch/fonts/MaterialIcons-Regular.eot); /* 
For IE6-8 */
+  src: 
url(//tools-static.wmflabs.org/cdnjs/ajax/libs/material-design-icons/2.0.0/iconfont/MaterialIcons-Regular.eot);
 /* For IE6-8 */
   src: local('Material Icons'),
   local('MaterialIcons-Regular'),
-  url(//tools.wmflabs.org/crosswatch/fonts/MaterialIcons-Regular.woff2) 
format('woff2'),
-  url(//tools.wmflabs.org/crosswatch/fonts/MaterialIcons-Regular.woff) 
format('woff'),
-  url(//tools.wmflabs.org/crosswatch/fonts/MaterialIcons-Regular.ttf) 
format('truetype');
+  
url(//tools-static.wmflabs.org/cdnjs/ajax/libs/material-design-icons/2.0.0/iconfont/MaterialIcons-Regular.woff2)
 format('woff2'),
+  
url(//tools-static.wmflabs.org/cdnjs/ajax/libs/material-design-icons/2.0.0/iconfont/MaterialIcons-Regular.woff)
 format('woff'),
+  
url(//tools-static.wmflabs.org/cdnjs/ajax/libs/material-design-icons/2.0.0/iconfont/MaterialIcons-Regular.ttf)
 format('truetype');
 }
 
 .material-icons {

-- 
To view, visit https://gerrit.wikimedia.org/r/225551
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie7768b827314dcc46013b88bdf86cea3924ec473
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/crosswatch
Gerrit-Branch: master
Gerrit-Owner: Sitic <jan.leb...@online.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to