Created
July 21, 2016 13:34
-
-
Save green3g/fb490c786920d7a572893de2aff9bd48 to your computer and use it in GitHub Desktop.
Circular dependency
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import can from 'can'; | |
import {B} from './ModuleB'; | |
export let A = { | |
a: 1 | |
}; | |
export let ExtendedA = can.extend({}, A, { | |
a2: B | |
}); | |
export default ExtendedA; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import can from 'can'; | |
import {A} from './ModuleA'; | |
export let B = { | |
b: 2 | |
}; | |
export let ExtendedB = can.extend({}, B, { | |
b2: A | |
}); | |
export default ExtendedB; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment