|
Last change
on this file since 2058e5c was 2058e5c, checked in by istevanoska <ilinastevanoska@…>, 6 months ago |
|
Working / before login
|
-
Property mode
set to
100644
|
|
File size:
375 bytes
|
| Rev | Line | |
|---|
| [2058e5c] | 1 | /**
|
|---|
| 2 | * Return flexbox spec versions by prefix
|
|---|
| 3 | */
|
|---|
| 4 | module.exports = function (prefix) {
|
|---|
| 5 | let spec
|
|---|
| 6 | if (prefix === '-webkit- 2009' || prefix === '-moz-') {
|
|---|
| 7 | spec = 2009
|
|---|
| 8 | } else if (prefix === '-ms-') {
|
|---|
| 9 | spec = 2012
|
|---|
| 10 | } else if (prefix === '-webkit-') {
|
|---|
| 11 | spec = 'final'
|
|---|
| 12 | }
|
|---|
| 13 |
|
|---|
| 14 | if (prefix === '-webkit- 2009') {
|
|---|
| 15 | prefix = '-webkit-'
|
|---|
| 16 | }
|
|---|
| 17 |
|
|---|
| 18 | return [spec, prefix]
|
|---|
| 19 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.