This repository was archived by the owner on Jun 26, 2020. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /**
2+ * Copyright (c) 2015-present, Facebook, Inc.
3+ * All rights reserved.
4+ *
5+ * This source code is licensed under the BSD-style license found in the
6+ * LICENSE file in the root directory of this source tree. An additional grant
7+ * of patent rights can be found in the PATENTS file in the same directory.
8+ *
9+ */
10+ 'use strict' ;
11+
12+ module . exports = window . __REACT_DEVTOOLS_GLOBAL_HOOK__ . nativeMap ;
Original file line number Diff line number Diff line change 1+ /**
2+ * Copyright (c) 2015-present, Facebook, Inc.
3+ * All rights reserved.
4+ *
5+ * This source code is licensed under the BSD-style license found in the
6+ * LICENSE file in the root directory of this source tree. An additional grant
7+ * of patent rights can be found in the PATENTS file in the same directory.
8+ *
9+ * @flow
10+ */
11+ 'use strict' ;
12+
13+ module . exports = window . __REACT_DEVTOOLS_GLOBAL_HOOK__ . nativeObjectCreate ;
Original file line number Diff line number Diff line change 1+ /**
2+ * Copyright (c) 2015-present, Facebook, Inc.
3+ * All rights reserved.
4+ *
5+ * This source code is licensed under the BSD-style license found in the
6+ * LICENSE file in the root directory of this source tree. An additional grant
7+ * of patent rights can be found in the PATENTS file in the same directory.
8+ *
9+ */
10+ 'use strict' ;
11+
12+ module . exports = window . __REACT_DEVTOOLS_GLOBAL_HOOK__ . nativeSet ;
Original file line number Diff line number Diff line change 1+ /**
2+ * Copyright (c) 2015-present, Facebook, Inc.
3+ * All rights reserved.
4+ *
5+ * This source code is licensed under the BSD-style license found in the
6+ * LICENSE file in the root directory of this source tree. An additional grant
7+ * of patent rights can be found in the PATENTS file in the same directory.
8+ *
9+ */
10+ 'use strict' ;
11+
12+ module . exports = window . __REACT_DEVTOOLS_GLOBAL_HOOK__ . nativeWeakMap ;
Original file line number Diff line number Diff line change @@ -31,10 +31,10 @@ module.exports = {
3131 } ] ,
3232 } ,
3333
34- plugins : [ new webpack . DefinePlugin ( {
35- 'Object.create' : 'window.__REACT_DEVTOOLS_GLOBAL_HOOK__.nativeObjectCreate ',
36- WeakMap : 'window.__REACT_DEVTOOLS_GLOBAL_HOOK__.nativeWeakMap ',
37- Map : 'window.__REACT_DEVTOOLS_GLOBAL_HOOK__.nativeMap ',
38- Set : 'window.__REACT_DEVTOOLS_GLOBAL_HOOK__.nativeSet ',
34+ plugins : [ new webpack . ProvidePlugin ( {
35+ 'Object.create' : __dirname + '/helpers/object-create.js ',
36+ Map : __dirname + '/helpers/map.js ',
37+ WeakMap : __dirname + '/helpers/weak-map.js ',
38+ Set : __dirname + '/helpers/set.js ',
3939 } ) ] ,
4040} ;
You can’t perform that action at this time.
0 commit comments