This repository was archived by the owner on Feb 22, 2018. It is now read-only.
Commit 1078ca5
fix(template_cache): Fixes an issue with the generated_template_cache.
Given the code ng.applicationFactory().addModule(myModule).run(), this
is rewritten into
ng.staticApplicationFactory(...)..addModule(generated_template_cache).addModule(myModule).run().
The original expression evaluates to an Injector, but the rewritten
expression evaluates to to the StaticApplication object. Since addModule
already returns this, its not needed to use .., so I've removed it,
restoring the correct evaluated object.1 parent 09797f0 commit 1078ca5
File tree
2 files changed
+3
-3
lines changed- lib/tools/transformer
- test/tools/transformer
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
0 commit comments