source: imaps-frontend/node_modules/inline-style-prefixer/lib/plugins/flex.js@ d565449

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: 446 bytes
RevLine 
[d565449]1'use strict';
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = flex;
7var 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
12function 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.