-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Wrap the current path around reconstructed macro functions"
- Loading branch information
1 parent
12bc66c
commit 0744ad1
Showing
15 changed files
with
12 additions
and
140 deletions.
There are no files selected for viewing
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
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
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
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
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
2 changes: 1 addition & 1 deletion
2
src/test/resources/eager/puts-deferred-fromed-macro-in-output.expected.jinja
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{% set myname = deferred + 3 %}{% set __macro_getPath_331491059_temp_variable_1__ %}{% set current_path = 'simple-with-call.jinja' %}Hello {{ myname }}{% set current_path = '' %}{% endset %}{% print __macro_getPath_331491059_temp_variable_1__ %} | ||
{% set myname = deferred + 3 %}{% set __macro_getPath_331491059_temp_variable_1__ %}Hello {{ myname }}{% endset %}{% print __macro_getPath_331491059_temp_variable_1__ %} |
2 changes: 1 addition & 1 deletion
2
src/test/resources/eager/puts-deferred-imported-macro-in-output.expected.jinja
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{% set myname = deferred + 3 %}{% set __macro_getPath_331491059_temp_variable_1__ %}{% set current_path = 'simple-with-call.jinja' %}Hello {{ myname }}{% set current_path = '' %}{% endset %}{% print __macro_getPath_331491059_temp_variable_1__ %} | ||
{% set myname = deferred + 3 %}{% set __macro_getPath_331491059_temp_variable_1__ %}Hello {{ myname }}{% endset %}{% print __macro_getPath_331491059_temp_variable_1__ %} |
4 changes: 0 additions & 4 deletions
4
src/test/resources/eager/wraps-current-path-around-macro/dir1/macro.jinja
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
src/test/resources/eager/wraps-current-path-around-macro/dir2/imported.jinja
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
src/test/resources/eager/wraps-current-path-around-macro/test.expected.jinja
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
src/test/resources/eager/wraps-current-path-around-macro/test.jinja
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
src/test/resources/snippets/from-tag-doesnt-steal-extends/base.jinja
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
src/test/resources/snippets/from-tag-doesnt-steal-extends/something-to-import.jinja
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
src/test/resources/snippets/from-tag-doesnt-steal-extends/test.expected.jinja
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
src/test/resources/snippets/from-tag-doesnt-steal-extends/test.jinja
This file was deleted.
Oops, something went wrong.