Browser: Add Object.assign polyfill to support older browsers (#3884)

This commit is contained in:
Rushan 2017-03-11 04:00:23 +05:30 committed by Harshavardhana
parent 2410eb281e
commit e77885d671
3 changed files with 3 additions and 4 deletions

View File

@ -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)

View File

@ -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'

View File

@ -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",