mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 07:37:19 +02:00
chore(v2): fix code style
This commit is contained in:
parent
b07507c9cc
commit
6965a668cd
143 changed files with 458 additions and 457 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
import ExecutionEnvironment from '@docusaurus/ExecutionEnvironment';
|
||||
|
||||
export default (function () {
|
||||
export default (function() {
|
||||
if (!ExecutionEnvironment.canUseDOM) {
|
||||
return null;
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
const path = require('path');
|
||||
|
||||
module.exports = function (context) {
|
||||
module.exports = function(context) {
|
||||
const {siteConfig} = context;
|
||||
const {themeConfig} = siteConfig;
|
||||
const {googleAnalytics} = themeConfig || {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue