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:
1.0 KB
|
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 | 'body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td': {
|
---|
| 10 | pad: 0,
|
---|
| 11 | mar: 0,
|
---|
| 12 | },
|
---|
| 13 | 'fieldset, img': {
|
---|
| 14 | bd: 0,
|
---|
| 15 | },
|
---|
| 16 | table: {
|
---|
| 17 | 'border-collapse': 'collapse',
|
---|
| 18 | 'border-spacing': 0,
|
---|
| 19 | },
|
---|
| 20 | 'ol, ul': {
|
---|
| 21 | 'list-style': 'none',
|
---|
| 22 | },
|
---|
| 23 | 'address, caption, cite, code, dfn, em, strong, th, var': {
|
---|
| 24 | fw: 'normal',
|
---|
| 25 | fs: 'normal',
|
---|
| 26 | },
|
---|
| 27 | 'caption, th': {
|
---|
| 28 | ta: 'left',
|
---|
| 29 | },
|
---|
| 30 | 'h1, h2, h3, h4, h5, h6': {
|
---|
| 31 | fw: 'normal',
|
---|
| 32 | fs: '100%',
|
---|
| 33 | },
|
---|
| 34 | 'q:before, q:after': {
|
---|
| 35 | con: "''",
|
---|
| 36 | },
|
---|
| 37 | 'abbr, acronym': {
|
---|
| 38 | bd: 0,
|
---|
| 39 | },
|
---|
| 40 | };
|
---|
| 41 |
|
---|
| 42 | renderer.put('', css);
|
---|
| 43 | };
|
---|
| 44 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.