Last change
on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
397 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 |
|
---|
3 | /**
|
---|
4 | * Return flexbox spec versions by prefix
|
---|
5 | */
|
---|
6 | module.exports = function (prefix) {
|
---|
7 | var spec;
|
---|
8 |
|
---|
9 | if (prefix === '-webkit- 2009' || prefix === '-moz-') {
|
---|
10 | spec = 2009;
|
---|
11 | } else if (prefix === '-ms-') {
|
---|
12 | spec = 2012;
|
---|
13 | } else if (prefix === '-webkit-') {
|
---|
14 | spec = 'final';
|
---|
15 | }
|
---|
16 |
|
---|
17 | if (prefix === '-webkit- 2009') {
|
---|
18 | prefix = '-webkit-';
|
---|
19 | }
|
---|
20 |
|
---|
21 | return [spec, prefix];
|
---|
22 | }; |
---|
Note:
See
TracBrowser
for help on using the repository browser.