We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbfce1f commit 93f68c8Copy full SHA for 93f68c8
lib/identity.js
@@ -1,4 +1,3 @@
1
-
2
/**
3
* Module dependencies.
4
*/
@@ -174,6 +173,22 @@ Compiler.prototype.page = function(node){
174
173
+ this.emit('\n}');
175
};
176
+/**
177
+ * Visit font-face node.
178
+ */
179
+
180
+Compiler.prototype.fontface = function(node){
181
+ var decls = node.declarations;
182
+ if (!decls.length) return '';
183
184
+ return this.emit('@font-face ')
185
+ + this.emit('{\n')
186
+ + this.emit(this.indent(1))
187
+ + this.mapVisit(decls, '\n')
188
+ + this.emit(this.indent(-1))
189
+ + this.emit('\n}');
190
+};
191
192
193
* Visit rule node.
194
0 commit comments