mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-24 07:09:03 +00:00
Update prettier and reformat source code
This commit is contained in:
@@ -34,7 +34,9 @@ function markdownitTagToClass(md, mapping = {}) {
|
||||
}
|
||||
});
|
||||
}
|
||||
md.core.ruler.push('markdownit-tag-to-class', (state) => parseTokens(state.tokens));
|
||||
md.core.ruler.push('markdownit-tag-to-class', (state) =>
|
||||
parseTokens(state.tokens)
|
||||
);
|
||||
}
|
||||
|
||||
module.exports = function (eleventyConfig) {
|
||||
|
||||
@@ -29,7 +29,11 @@ function setupNavigationDrawer() {
|
||||
navopen = false;
|
||||
}
|
||||
document.addEventListener('click', (e) => {
|
||||
if (navopen && !navigation.contains(e.target) && !showbtn.contains(e.target)) {
|
||||
if (
|
||||
navopen &&
|
||||
!navigation.contains(e.target) &&
|
||||
!showbtn.contains(e.target)
|
||||
) {
|
||||
closeNavigation();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user