-
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.
- Loading branch information
1 parent
a555783
commit 57c4614
Showing
9 changed files
with
2,859 additions
and
1,681 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
module.exports = { | ||
extends: [ | ||
'eslint-config-synacor' | ||
], | ||
globals: { | ||
zimlet: true | ||
}, | ||
rules: { | ||
indent: ['error', 'tab', { | ||
ignoredNodes: ['TemplateLiteral'], | ||
SwitchCase: 1 | ||
}] | ||
} | ||
}; |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/** This file is an auto-generated shim, aliased in for "preact/jsx-runtime" in the webpack config. | ||
* When components import 'preact/jsx-runtime', we want to give them back the copy | ||
* Zimbra passed down when it called the factory provided to zimlet(). | ||
*/ | ||
|
||
/* eslint-disable camelcase, dot-notation */ | ||
import { warnOnMissingExport } from '../../'; | ||
const wrap = warnOnMissingExport.bind(null, global.shims['preact/jsx-runtime'], 'preact/jsx-runtime'); | ||
|
||
export const Fragment = wrap('Fragment'); | ||
export const jsx = wrap('jsx'); | ||
export const jsxs = wrap('jsxs'); | ||
export const jsxDEV = wrap('jsxDEV'); | ||
|
||
export default global.shims['preact/jsx-runtime']; |