Skip to content

Commit 8c1b7b9

Browse files
authored
Update README.md
clarify that the custom js file can only contain a class
1 parent ac0da85 commit 8c1b7b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Allows you to bind an [Invocable Script](#invocable-scripts) to a hotkey.
4141
4242
## Usage/Example
4343

44-
CustomJS works by writing javascript classes. Each file can only contain one class.
44+
CustomJS works by writing javascript classes. Each file can contain one class _and only one class_. Imports, constants, etc defined outside the class will break CustomJS.
4545

4646
### Accessing your classes
4747

0 commit comments

Comments
 (0)