webaverse / xrpackage-site

XRPackage Frontend
https://xrpackage.org/
1 stars 6 forks source link

Refactor edit.js #12

Closed shu8 closed 4 years ago

shu8 commented 4 years ago

It might be a bit easier to complete https://github.com/webaverse/xrpackage/issues/69 after separating out some of the core parts of logic from the edit.js file.

This PR just moves chunks of code out into their own modules to make it easier to read and follow, for example:

I think more logic could be separated but this is a first pass attempt and more things might become obvious during the removal of run.html

shu8 commented 4 years ago

I've rebased with master and gone through the latest edit.js manually to make sure none of the recent changes have been lost.

shu8 commented 4 years ago

Closing slate PR