main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
446 bytes
|
Rev | Line | |
---|
[d565449] | 1 | 'use strict';
|
---|
| 2 |
|
---|
| 3 | Object.defineProperty(exports, "__esModule", {
|
---|
| 4 | value: true
|
---|
| 5 | });
|
---|
| 6 | exports.default = flex;
|
---|
| 7 | var values = {
|
---|
| 8 | flex: ['-webkit-box', '-moz-box', '-ms-flexbox', '-webkit-flex', 'flex'],
|
---|
| 9 | 'inline-flex': ['-webkit-inline-box', '-moz-inline-box', '-ms-inline-flexbox', '-webkit-inline-flex', 'inline-flex']
|
---|
| 10 | };
|
---|
| 11 |
|
---|
| 12 | function flex(property, value) {
|
---|
| 13 | if (property === 'display' && values.hasOwnProperty(value)) {
|
---|
| 14 | return values[value];
|
---|
| 15 | }
|
---|
| 16 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.