Friday, April 3, 2015 at 3:21 PM

Code that runs at startup

New in MyWord Editor v0.64.

There's a new config.json element, config.startupCode.

After MWE has finished booting up, it runs this through the built-in eval function.

This has proved useful in Fargo, and other apps, as a way for clever JavaScript devs to extend the environment in some interesting ways. Have fun, but be careful!

The default value is a console.log call that basically says Hello World.


Last built: Fri, Apr 3, 2015 at 3:30 PM

By Dave Winer, Friday, April 3, 2015 at 3:21 PM. Ask not what the Internet can do for you...