clemos / try-haxe

A small webapp that allows to test Haxe online
https://try.haxe.org
MIT License
126 stars 41 forks source link

try.haxe.org -> Examples in menu fail to build #98

Closed bradparks closed 8 years ago

bradparks commented 8 years ago

Note: I originally posted this issue in the haxe repo by accident: https://github.com/HaxeFoundation/haxe/issues/5003

Examples seem to fail after running a WebGL example.

Here's how to duplicate it

Here's a pic of Justin's email image

clemos commented 8 years ago

Thanks for the report :) This is because Justin's snippet sets main class to Main while our examples sets main class to Test. We need to update the main class input when loading an example.

bradparks commented 8 years ago

Sounds good.. more FYI than anything... thanks!

clemos commented 8 years ago

It's mainly for me to remember what to fix (or for someone else to make a PR) :)