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
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
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
| function WComponent({ name }) { | |
| return function(WebComponent) { | |
| window.customElements.define(`wc-${name}`, WebComponent); | |
| return WebComponent; | |
| }; | |
| } | |
| export default WComponent; |
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
| #!/bin/sh | |
| # Prepend the branch sufix name to commit message. | |
| # | |
| # Usage: | |
| # Add this file at [repo]/.git/hooks/prepare-commit-msg | |
| # | |
| # Example: | |
| # | |
| # Branch name: |