main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
731 bytes
|
Rev | Line | |
---|
[d565449] | 1 | 'use strict';
|
---|
| 2 |
|
---|
| 3 | exports.addon = function (renderer) {
|
---|
| 4 | if (process.env.NODE_ENV !== 'production') {
|
---|
| 5 | require('../__dev__/warnOnMissingDependencies')('reset', renderer, ['put']);
|
---|
| 6 | }
|
---|
| 7 |
|
---|
| 8 | var css = {
|
---|
| 9 | ':link,:visited': {
|
---|
| 10 | td: 'none',
|
---|
| 11 | },
|
---|
| 12 | 'ul,ol': {
|
---|
| 13 | 'list-style': 'none',
|
---|
| 14 | },
|
---|
| 15 | 'h1,h2,h3,h4,h5,h6,pre,code,p': {
|
---|
| 16 | fz: '1em',
|
---|
| 17 | },
|
---|
| 18 | 'ul,ol,dl,li,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input': {
|
---|
| 19 | pad: 0,
|
---|
| 20 | mar: 0,
|
---|
| 21 | },
|
---|
| 22 | 'a img,:link img,:visited img': {
|
---|
| 23 | bd: 'none',
|
---|
| 24 | },
|
---|
| 25 | address: {
|
---|
| 26 | fs: 'normal',
|
---|
| 27 | },
|
---|
| 28 | };
|
---|
| 29 |
|
---|
| 30 | renderer.put('', css);
|
---|
| 31 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.