-
-
Notifications
You must be signed in to change notification settings - Fork 65
Initial implementation of co-located templates RFC. #249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 4 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
fbda2e0
Initial spike of co-located templates RFC.
chancancode 764615e
Use globals for now
chancancode a640658
Fix addon compilation
chancancode 4c6017b
Better error for missing default export
chancancode 942c301
v3.2.0-alpha.0
chancancode 66dff2f
Fix some Node 8 issues
chancancode b9295c5
Fix lint
chancancode 6b5a4d6
Extract ColocatedTemplateProcessor to dedicated file.
10e5f31
Merge remote-tracking branch 'origin/master' into colocation
3aabb50
Update linting config to allow async functions.
d7a579b
Add broccoli-debug logging.
f7f3f47
Start fleshing out basic testing infrastructure.
1dbfb87
Merge remote-tracking branch 'origin/master' into colocation
6ba80f4
Merge remote-tracking branch 'origin/master' into colocation
24e8ad6
yarn lint:js --fix
fb2808a
Extract helper method to build merged component JS contents.
f5a0b01
Add TODO comments for additional tasks.
6de52e5
Flesh out more tests.
5709c0f
Avoid adding the import for setComponentTemplate.
b44e14b
yarn lint:js --fix
bb4ad58
Fix colocated-broccoli-plugin tests
9362a4c
Add babel plugin to add setComponentTemplate usage.
952287b
Simplify implementation / reduce duplication.
cfa93e3
Make requires more lazy.
eba43a7
Add proper guard for using colocation.
99ac97d
Refactor registry toTree setup.
60b8ae9
Tweak comments in colocated-broccoli-plugin.
2d58f11
Ensure debugTree's are not "merged" for different invocations.
9972294
Add tests for scoped addons.
db7e5f2
Only process colocated files from <app-or-addon-name>/components/
1ef7d42
Merge pull request #280 from rwjblue/colocation-refactor
791bde4
Fix setComponentTemplate argument ordering for native classes.
253503f
Only opt-in to colocation when using octane edition.
35b66bf
Merge remote-tracking branch 'origin/master' into colocation
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Hello from bar! |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| export default Component.extend({ | ||
| attributeBindings: ['lolol'], | ||
| }); |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Stuff!! |
Empty file.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.