add some hooks to web gui



  • I write debug gui with some functions like kill, reset, retaget creep, and now to do it, i forced to use browser script loading and intercept angular scopes.

    I think it would be good to add settings "user script url" and some hooks like if(window.selectUnit) window.selectUnit(unit); to easy get selection and click locations without dirty hooks...

    And will be not bad, to write websocket api doc.

    Yes, i know, i insolent, but your minified files hard to read 😄