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 value: true
}); });
var TYPES = { var TYPES = {
CHANGE_DIRECTORY: Symbol('CHANGE_DIRECTORY'), CHANGE_DIRECTORY: 'CHANGE_DIRECTORY',
LIST_FILES: Symbol('LIST_FILES'), LIST_FILES: 'LIST_FILES',
FILES_VIEW: Symbol('FILES_VIEW'), FILES_VIEW: 'FILES_VIEW',
SELECT_VIEW: Symbol('SELECT_VIEW'), SELECT_VIEW: 'SELECT_VIEW',
NAVIGATION: Symbol('NAVIGATION'), NAVIGATION: 'NAVIGATION',
TOGGLE: Symbol('TOGGLE'), TOGGLE: 'TOGGLE',
REFRESH: Symbol('REFRESH'), REFRESH: 'REFRESH',
SORT: Symbol('SORT'), SORT: 'SORT',
NEW_FILE: Symbol('NEW_FILE'), NEW_FILE: 'NEW_FILE',
CREATE_FILE: Symbol('CREATE_FILE'), CREATE_FILE: 'CREATE_FILE',
SHARE_FILE: Symbol('SHARE_FILE'), SHARE_FILE: 'SHARE_FILE',
RENAME_FILE: Symbol('RENAME_FILE'), RENAME_FILE: 'RENAME_FILE',
ACTIVE_FILE: Symbol('ACTIVE_FILE'), ACTIVE_FILE: 'ACTIVE_FILE',
DELETE_FILE: Symbol('DELETE_FILE'), DELETE_FILE: 'DELETE_FILE',
COPY_FILE: Symbol('COPY_FILE'), COPY_FILE: 'COPY_FILE',
MOVE_FILE: Symbol('MOVE_FILE'), MOVE_FILE: 'MOVE_FILE',
MENU: Symbol('MENU'), MENU: 'MENU',
DIALOG: Symbol('DIALOG'), 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; exports['default'] = TYPES;

View File

@ -1,34 +1,34 @@
const TYPES = { const TYPES = {
CHANGE_DIRECTORY: Symbol('CHANGE_DIRECTORY'), CHANGE_DIRECTORY: 'CHANGE_DIRECTORY',
LIST_FILES: Symbol('LIST_FILES'), LIST_FILES: 'LIST_FILES',
FILES_VIEW: Symbol('FILES_VIEW'), FILES_VIEW: 'FILES_VIEW',
SELECT_VIEW: Symbol('SELECT_VIEW'), SELECT_VIEW: 'SELECT_VIEW',
NAVIGATION: Symbol('NAVIGATION'), NAVIGATION: 'NAVIGATION',
TOGGLE: Symbol('TOGGLE'), TOGGLE: 'TOGGLE',
REFRESH: Symbol('REFRESH'), REFRESH: 'REFRESH',
SORT: Symbol('SORT'), SORT: 'SORT',
NEW_FILE: Symbol('NEW_FILE'), NEW_FILE: 'NEW_FILE',
CREATE_FILE: Symbol('CREATE_FILE'), CREATE_FILE: 'CREATE_FILE',
SHARE_FILE: Symbol('SHARE_FILE'), SHARE_FILE: 'SHARE_FILE',
RENAME_FILE: Symbol('RENAME_FILE'), RENAME_FILE: 'RENAME_FILE',
ACTIVE_FILE: Symbol('ACTIVE_FILE'), ACTIVE_FILE: 'ACTIVE_FILE',
DELETE_FILE: Symbol('DELETE_FILE'), DELETE_FILE: 'DELETE_FILE',
COPY_FILE: Symbol('COPY_FILE'), COPY_FILE: 'COPY_FILE',
MOVE_FILE: Symbol('MOVE_FILE'), MOVE_FILE: 'MOVE_FILE',
MENU: Symbol('MENU'), MENU: 'MENU',
DIALOG: Symbol('DIALOG'), 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; export default TYPES;