Total.js and Ionic Framework

Skip to first unread message

Frank Hermann

Jan 28, 2014, 7:27:30 AM1/28/14
I'm currently trying to combine Total.js with the Ionic Framework. It works quite well actually, but somehow the font icons aren't loading and I have absolutely no idea why. Even my browser isn't throwing an error in debug mode. I put the icons into "/public/fonts" and they are defined in "/public/css/ionic.css".

@font-face {
  font-family: "Ionicons";
  src: url("../fonts/ionicons.eot?v=1.4.2");
  src: url("../fonts/ionicons.eot?v=1.4.2#iefix") format("embedded-opentype"), url("../fonts/ionicons.ttf?v=1.4.2") format("truetype"), url("../fonts/ionicons.woff?v=1.4.2") format("woff"), url("../fonts/ionicons.svg?v=1.4.2#Ionicons") format("svg");
  font-weight: normal;
  font-style: normal; }

In the attachement you can find the actual project. Maybe someone of you sees what's wrong.

Peter Širka

Jan 28, 2014, 9:25:23 AM1/28/14
Hello Frank,
really sorry, I found a bug in CSS compiler. The problem was in "@charset" keyword and I fixed it. So is there one way how to prevent this problem in current version: you must add into the filename of css ".min" word. I replaced total.js version in your example. The example contains "in development" version but this week I'll publish new version.

Many thanks and sorry.
Reply all
Reply to author
0 new messages