-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replaces before creating the elements (#322)
* replaces before creating the elements I also built the project and added tests * version bump * no longer modifying the original template
- Loading branch information
Showing
9 changed files
with
209 additions
and
73 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
3 changes: 2 additions & 1 deletion
3
test/fixtures/integration/multiple-replace/dom-if-element.html
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
13 changes: 13 additions & 0 deletions
13
test/fixtures/integration/multiple-replace/exception-element.html
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<dom-module id="exception-element"> | ||
<template> | ||
</template> | ||
<script> | ||
Polymer({ | ||
is: 'exception-element', | ||
|
||
created: function() { | ||
throw new Error('exception-element created'); | ||
} | ||
}); | ||
</script> | ||
</dom-module> |
15 changes: 15 additions & 0 deletions
15
test/fixtures/integration/multiple-replace/exception-fixture.html
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<link rel="import" href="normal-element.html"> | ||
<link rel="import" href="exception-element.html"> | ||
|
||
<dom-module id="exception-fixture"> | ||
<template> | ||
<normal-element id="normal"></normal-element> | ||
<exception-element id="exception"></exception-element> | ||
</template> | ||
|
||
<script> | ||
Polymer({ | ||
is: 'exception-fixture' | ||
}); | ||
</script> | ||
</dom-module> |
Oops, something went wrong.