File tree 11 files changed +24
-24
lines changed
11 files changed +24
-24
lines changed Original file line number Diff line number Diff line change 13
13
14
14
'use strict' ;
15
15
16
- const _shouldPolyfillES6Collection = require ( '_shouldPolyfillES6Collection' ) ;
17
- const guid = require ( 'guid' ) ;
18
- const toIterator = require ( 'toIterator' ) ;
16
+ const _shouldPolyfillES6Collection = require ( './ _shouldPolyfillES6Collection' ) ;
17
+ const guid = require ( './ guid' ) ;
18
+ const toIterator = require ( './ toIterator' ) ;
19
19
20
20
module . exports = ( function ( global , undefined ) {
21
21
// Since our implementation is spec-compliant for the most part we can safely
Original file line number Diff line number Diff line change 13
13
14
14
'use strict' ;
15
15
16
- const Map = require ( 'Map' ) ;
16
+ const Map = require ( './ Map' ) ;
17
17
18
- const _shouldPolyfillES6Collection = require ( '_shouldPolyfillES6Collection' ) ;
19
- const toIterator = require ( 'toIterator' ) ;
18
+ const _shouldPolyfillES6Collection = require ( './ _shouldPolyfillES6Collection' ) ;
19
+ const toIterator = require ( './ toIterator' ) ;
20
20
21
21
module . exports = ( function ( global ) {
22
22
// Since our implementation is spec-compliant for the most part we can safely
Original file line number Diff line number Diff line change 7
7
8
8
"use strict" ;
9
9
10
- const mergeInto = require ( 'mergeInto' ) ;
10
+ const mergeInto = require ( './ mergeInto' ) ;
11
11
12
12
/**
13
13
* Shallow merges two structures into a return value, without mutating either.
Original file line number Diff line number Diff line change 7
7
8
8
"use strict" ;
9
9
10
- var mergeHelpers = require ( 'mergeHelpers' ) ;
10
+ var mergeHelpers = require ( './ mergeHelpers' ) ;
11
11
12
12
var checkMergeObjectArg = mergeHelpers . checkMergeObjectArg ;
13
13
var checkMergeIntoObjectArg = mergeHelpers . checkMergeIntoObjectArg ;
Original file line number Diff line number Diff line change 10
10
11
11
'use strict' ;
12
12
13
- const mixInEventEmitter = require ( 'mixInEventEmitter' ) ;
13
+ const mixInEventEmitter = require ( '../../emitter/ mixInEventEmitter' ) ;
14
14
15
15
/**
16
16
* DocumentSelectionState is responsible for maintaining selection information
Original file line number Diff line number Diff line change 10
10
11
11
'use strict' ;
12
12
13
- const EventSubscription = require ( 'EventSubscription' ) ;
13
+ const EventSubscription = require ( './ EventSubscription' ) ;
14
14
15
- import type EventEmitter from 'EventEmitter' ;
16
- import type EventSubscriptionVendor from 'EventSubscriptionVendor' ;
15
+ import type EventEmitter from './ EventEmitter' ;
16
+ import type EventSubscriptionVendor from './ EventSubscriptionVendor' ;
17
17
18
18
/**
19
19
* EmitterSubscription represents a subscription with listener and context data.
Original file line number Diff line number Diff line change 11
11
12
12
'use strict' ;
13
13
14
- const EmitterSubscription = require ( 'EmitterSubscription' ) ;
15
- const EventSubscriptionVendor = require ( 'EventSubscriptionVendor' ) ;
14
+ const EmitterSubscription = require ( './ EmitterSubscription' ) ;
15
+ const EventSubscriptionVendor = require ( './ EventSubscriptionVendor' ) ;
16
16
17
17
const invariant = require ( 'invariant' ) ;
18
18
Original file line number Diff line number Diff line change 10
10
11
11
'use strict' ;
12
12
13
- import type EmitterSubscription from 'EmitterSubscription' ;
14
- import type EventEmitter from 'EventEmitter' ;
15
- import type EventHolder from 'EventHolder' ;
13
+ import type EmitterSubscription from './ EmitterSubscription' ;
14
+ import type EventEmitter from './ EventEmitter' ;
15
+ import type EventHolder from './ EventHolder' ;
16
16
17
17
/**
18
18
* @class EventEmitterWithHolding
Original file line number Diff line number Diff line change 10
10
11
11
'use strict' ;
12
12
13
- import type EventSubscriptionVendor from 'EventSubscriptionVendor' ;
13
+ import type EventSubscriptionVendor from './ EventSubscriptionVendor' ;
14
14
15
15
/**
16
16
* EventSubscription represents a subscription to a particular event. It can
Original file line number Diff line number Diff line change 12
12
13
13
const invariant = require ( 'invariant' ) ;
14
14
15
- import type EventSubscription from 'EventSubscription' ;
15
+ import type EventSubscription from './ EventSubscription' ;
16
16
17
17
/**
18
18
* EventSubscriptionVendor stores a set of EventSubscriptions that are
Original file line number Diff line number Diff line change 10
10
11
11
'use strict' ;
12
12
13
- const EventEmitter = require ( 'EventEmitter' ) ;
14
- const EventEmitterWithHolding = require ( 'EventEmitterWithHolding' ) ;
15
- const EventHolder = require ( 'EventHolder' ) ;
13
+ const EventEmitter = require ( './ EventEmitter' ) ;
14
+ const EventEmitterWithHolding = require ( './ EventEmitterWithHolding' ) ;
15
+ const EventHolder = require ( './ EventHolder' ) ;
16
16
17
17
const invariant = require ( 'invariant' ) ;
18
18
const keyOf = require ( 'fbjs/lib/keyOf' ) ;
19
19
20
- import type EmitterSubscription from 'EmitterSubscription' ;
20
+ import type EmitterSubscription from './ EmitterSubscription' ;
21
21
22
22
const TYPES_KEY = keyOf ( { __types : true } ) ;
23
23
@@ -120,7 +120,7 @@ const EventEmitterMixin = {
120
120
if ( ! this . __eventEmitter ) {
121
121
let emitter = new EventEmitter ( ) ;
122
122
if ( __DEV__ ) {
123
- const EventValidator = require ( 'EventValidator' ) ;
123
+ const EventValidator = require ( './ EventValidator' ) ;
124
124
emitter = EventValidator . addValidation ( emitter , this . __types ) ;
125
125
}
126
126
You can’t perform that action at this time.
0 commit comments