File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed
Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 11/**
22 * Created by wangtun on 2016/7/21.
33 */
4- import 'babel-polyfill' ;
4+
55import React , { Component } from 'react' ;
66import { createStore , applyMiddleware , compose } from 'redux' ;
77import { Provider , connect } from 'react-redux' ;
Original file line number Diff line number Diff line change 11/**
22 * Created by 28203 on 2016/5/29 0029.
33 */
4- import fetch from 'isomorphic-fetch'
54
65const fetchMethod = {
76 Get : "GET" ,
Original file line number Diff line number Diff line change 44
55const helper = {
66 bindMethod : ( obj ) => {
7- const members = Reflect . ownKeys ( obj . __proto__ ) ;
7+ const members = Object . getOwnPropertyNames ( obj . __proto__ ) ;
88 for ( let member of members ) {
99 if ( typeof ( obj [ member ] ) === 'function' ) {
1010 if ( ! helper . isReactLifeCycleMethod ( member ) ) {
You can’t perform that action at this time.
0 commit comments