Projekt

Obecné

Profil

Stáhnout (969 Bajtů) Statistiky
| Větev: | Revize:
1
'use strict';
2

    
3
const isWindows = process.platform === 'win32';
4
const isLinux = process.platform === 'linux';
5

    
6
const windows = {
7
  bullet: '',
8
  check: '',
9
  cross: '×',
10
  ellipsis: '...',
11
  heart: '',
12
  info: 'i',
13
  line: '',
14
  middot: '·',
15
  minus: '',
16
  plus: '',
17
  question: '?',
18
  questionSmall: '',
19
  pointer: '>',
20
  pointerSmall: '»',
21
  warning: ''
22
};
23

    
24
const other = {
25
  ballotCross: '',
26
  bullet: '',
27
  check: '',
28
  cross: '',
29
  ellipsis: '',
30
  heart: '',
31
  info: '',
32
  line: '',
33
  middot: '·',
34
  minus: '',
35
  plus: '',
36
  question: '?',
37
  questionFull: '',
38
  questionSmall: '',
39
  pointer: isLinux ? '' : '',
40
  pointerSmall: isLinux ? '' : '',
41
  warning: ''
42
};
43

    
44
module.exports = isWindows ? windows : other;
45
Reflect.defineProperty(module.exports, 'windows', { enumerable: false, value: windows });
46
Reflect.defineProperty(module.exports, 'other', { enumerable: false, value: other });
(5-5/5)