mirror of
https://github.com/minio/minio.git
synced 2024-12-23 21:55:53 -05:00
Browser: Add Object.assign polyfill to support older browsers (#3884)
This commit is contained in:
parent
2410eb281e
commit
e77885d671
@ -44,6 +44,8 @@ import Web from './js/web'
|
||||
window.Web = Web
|
||||
|
||||
import storage from 'local-storage-fallback'
|
||||
import objectAssign from 'es6-object-assign'
|
||||
objectAssign.polyfill()
|
||||
|
||||
const store = applyMiddleware(thunkMiddleware)(createStore)(reducer)
|
||||
const Browse = connect(state => state)(_Browse)
|
||||
|
@ -14,13 +14,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import url from 'url'
|
||||
import Moment from 'moment'
|
||||
import browserHistory from 'react-router/lib/browserHistory'
|
||||
import web from './web'
|
||||
import * as utils from './utils'
|
||||
import storage from 'local-storage-fallback'
|
||||
|
||||
import { minioBrowserPrefix } from './constants'
|
||||
|
||||
export const SET_WEB = 'SET_WEB'
|
||||
|
@ -67,6 +67,7 @@
|
||||
"dependencies": {
|
||||
"bootstrap": "^3.3.6",
|
||||
"classnames": "^2.2.3",
|
||||
"es6-object-assign": "^1.0.3",
|
||||
"font-awesome": "^4.7.0",
|
||||
"humanize": "0.0.9",
|
||||
"json-loader": "^0.5.4",
|
||||
|
Loading…
Reference in New Issue
Block a user