|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
623 bytes
|
| Rev | Line | |
|---|
| [9af201e] | 1 | 'use strict';
|
|---|
| 2 |
|
|---|
| 3 | var shorthandSetter = require('../parsers').shorthandSetter;
|
|---|
| 4 | var shorthandGetter = require('../parsers').shorthandGetter;
|
|---|
| 5 |
|
|---|
| 6 | var shorthand_for = {
|
|---|
| 7 | 'background-color': require('./backgroundColor'),
|
|---|
| 8 | 'background-image': require('./backgroundImage'),
|
|---|
| 9 | 'background-repeat': require('./backgroundRepeat'),
|
|---|
| 10 | 'background-attachment': require('./backgroundAttachment'),
|
|---|
| 11 | 'background-position': require('./backgroundPosition'),
|
|---|
| 12 | };
|
|---|
| 13 |
|
|---|
| 14 | module.exports.definition = {
|
|---|
| 15 | set: shorthandSetter('background', shorthand_for),
|
|---|
| 16 | get: shorthandGetter('background', shorthand_for),
|
|---|
| 17 | enumerable: true,
|
|---|
| 18 | configurable: true,
|
|---|
| 19 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.