Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I see. Then you would first have to have (make) a server that serves up *.st source files throug a REST api. Then you would modify the ./Playground project to fetch the files from your server in stead of from the TextArea. This is done in the PlaygroundApp.evaluate method.




would it have to be a REST API? couldn't i just fetch them as plan text?

Sure, you could do that too in SmallJS. See the classes in ./Smalltalk/Core/Fetch and in ./Smalltalk/Node/Server. The Fetch unit tests actually have a case for this, I think.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: