Skip to content

docs(introduction): clarify usage of functions in config.js for browser availability#385

Merged
sdetweil merged 2 commits into
MagicMirrorOrg:developfrom
KristjanESPERANTO:functions
Jun 27, 2026
Merged

docs(introduction): clarify usage of functions in config.js for browser availability#385
sdetweil merged 2 commits into
MagicMirrorOrg:developfrom
KristjanESPERANTO:functions

Conversation

@KristjanESPERANTO

Copy link
Copy Markdown
Contributor

@sdetweil

Copy link
Copy Markdown
Contributor

as you are updating configuration, could you add this

/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}

to the end of the example of minimum config, item 3

we've had a couple users do this, instead of copying the sample and it fails (at least now there is a message)

@KristjanESPERANTO

Copy link
Copy Markdown
Contributor Author

Done 🙂

@sdetweil sdetweil merged commit 68d11b2 into MagicMirrorOrg:develop Jun 27, 2026
@KristjanESPERANTO KristjanESPERANTO deleted the functions branch June 28, 2026 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants