Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

AuroraEditor/Extension-JSSupport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Caution

This repo is archived.
JSSupport will be built-in and will not require a extension to run.
See: AuroraEditor/AuroraEditor#641


This is a example for JSSupport in Aurora Editor. Please note that this code is subject to change and may not be the final version.

To run the "tests" you can run:

swift JSSupport.swift

It should print:

API Test Message: AuroraEditor.api using evaluate...
API Test Message: api using respond()
API Test:
 Function: func
 Parameters: ["some": value, "dict": ionary]
JS Error: TypeError: undefined is not an object (evaluating 'this.should.fail')
Tests completed succesfully.

This doesn't seem like much, but it's a good start to support JavaScript in Aurora Editor.

If you have any questions, feel free to ask. @0xWDG at Discord.


License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

JavaScript Extension Support

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages