fix compatibility: Don't use symbols for compatibility issues with older versions of Firefox OS

This commit is contained in:
Mahdi Dibaiee 2015-09-07 19:07:54 +04:30
parent aca39faa1c
commit 193b3c7e1b
2 changed files with 44 additions and 44 deletions

View File

@ -34076,36 +34076,36 @@ Object.defineProperty(exports, '__esModule', {
value: true
});
var TYPES = {
CHANGE_DIRECTORY: Symbol('CHANGE_DIRECTORY'),
CHANGE_DIRECTORY: 'CHANGE_DIRECTORY',
LIST_FILES: Symbol('LIST_FILES'),
FILES_VIEW: Symbol('FILES_VIEW'),
SELECT_VIEW: Symbol('SELECT_VIEW'),
LIST_FILES: 'LIST_FILES',
FILES_VIEW: 'FILES_VIEW',
SELECT_VIEW: 'SELECT_VIEW',
NAVIGATION: Symbol('NAVIGATION'),
TOGGLE: Symbol('TOGGLE'),
REFRESH: Symbol('REFRESH'),
SORT: Symbol('SORT'),
NAVIGATION: 'NAVIGATION',
TOGGLE: 'TOGGLE',
REFRESH: 'REFRESH',
SORT: 'SORT',
NEW_FILE: Symbol('NEW_FILE'),
CREATE_FILE: Symbol('CREATE_FILE'),
SHARE_FILE: Symbol('SHARE_FILE'),
RENAME_FILE: Symbol('RENAME_FILE'),
ACTIVE_FILE: Symbol('ACTIVE_FILE'),
DELETE_FILE: Symbol('DELETE_FILE'),
COPY_FILE: Symbol('COPY_FILE'),
MOVE_FILE: Symbol('MOVE_FILE'),
NEW_FILE: 'NEW_FILE',
CREATE_FILE: 'CREATE_FILE',
SHARE_FILE: 'SHARE_FILE',
RENAME_FILE: 'RENAME_FILE',
ACTIVE_FILE: 'ACTIVE_FILE',
DELETE_FILE: 'DELETE_FILE',
COPY_FILE: 'COPY_FILE',
MOVE_FILE: 'MOVE_FILE',
MENU: Symbol('MENU'),
DIALOG: Symbol('DIALOG'),
MENU: 'MENU',
DIALOG: 'DIALOG',
SPINNER: Symbol('SPINNER'),
SPINNER: 'SPINNER',
SETTINGS: Symbol('SETTINGS'),
SETTINGS: 'SETTINGS',
SEARCH: Symbol('SEARCH'),
SEARCH: 'SEARCH',
PICK: Symbol('PICK')
PICK: 'PICK'
};
exports['default'] = TYPES;

View File

@ -1,34 +1,34 @@
const TYPES = {
CHANGE_DIRECTORY: Symbol('CHANGE_DIRECTORY'),
CHANGE_DIRECTORY: 'CHANGE_DIRECTORY',
LIST_FILES: Symbol('LIST_FILES'),
FILES_VIEW: Symbol('FILES_VIEW'),
SELECT_VIEW: Symbol('SELECT_VIEW'),
LIST_FILES: 'LIST_FILES',
FILES_VIEW: 'FILES_VIEW',
SELECT_VIEW: 'SELECT_VIEW',
NAVIGATION: Symbol('NAVIGATION'),
TOGGLE: Symbol('TOGGLE'),
REFRESH: Symbol('REFRESH'),
SORT: Symbol('SORT'),
NAVIGATION: 'NAVIGATION',
TOGGLE: 'TOGGLE',
REFRESH: 'REFRESH',
SORT: 'SORT',
NEW_FILE: Symbol('NEW_FILE'),
CREATE_FILE: Symbol('CREATE_FILE'),
SHARE_FILE: Symbol('SHARE_FILE'),
RENAME_FILE: Symbol('RENAME_FILE'),
ACTIVE_FILE: Symbol('ACTIVE_FILE'),
DELETE_FILE: Symbol('DELETE_FILE'),
COPY_FILE: Symbol('COPY_FILE'),
MOVE_FILE: Symbol('MOVE_FILE'),
NEW_FILE: 'NEW_FILE',
CREATE_FILE: 'CREATE_FILE',
SHARE_FILE: 'SHARE_FILE',
RENAME_FILE: 'RENAME_FILE',
ACTIVE_FILE: 'ACTIVE_FILE',
DELETE_FILE: 'DELETE_FILE',
COPY_FILE: 'COPY_FILE',
MOVE_FILE: 'MOVE_FILE',
MENU: Symbol('MENU'),
DIALOG: Symbol('DIALOG'),
MENU: 'MENU',
DIALOG: 'DIALOG',
SPINNER: Symbol('SPINNER'),
SPINNER: 'SPINNER',
SETTINGS: Symbol('SETTINGS'),
SETTINGS: 'SETTINGS',
SEARCH: Symbol('SEARCH'),
SEARCH: 'SEARCH',
PICK: Symbol('PICK')
PICK: 'PICK'
};
export default TYPES;