-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api.js (v4.1.0), embed Tram-Lite version in TramLite and created comp…
…onents. * separate the attaching of processors - included by default in tram-lite.js, excluded from api.js * TramLite.version now includes the version of Tram-Lite that is live on the page * TramLite.installed will tell you if Tram-Lite listeners have been attached to the document * components made with TramLite now have a .tramLiteVersion
- Loading branch information
Showing
9 changed files
with
39 additions
and
19 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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,4 @@ | ||
ComponentDefinition.setupMutationObserverForTemplates(); | ||
TramLite.appendShadowRootProcessor('[tl-controlled]', ControlledInput); | ||
TramLite.appendShadowRootProcessor('[tl-effect]', ComponentEffect); | ||
TramLite.installed = true; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,5 +59,3 @@ class ComponentEffect { | |
}); | ||
} | ||
} | ||
|
||
TramLite.appendShadowRootProcessor('[tl-effect]', ComponentEffect); |
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 |
---|---|---|
|
@@ -34,5 +34,3 @@ class ControlledInput { | |
}); | ||
} | ||
} | ||
|
||
TramLite.appendShadowRootProcessor('[tl-controlled]', ControlledInput); |