blitz-research / monkey

Blitz Research Monkey Source
225 stars 59 forks source link

Added ability for html5 target to handle #LIBS #71

Open skn3 opened 9 years ago

skn3 commented 9 years ago

Added the ability for monkey to handle #LIB in html5 target.

Each #LIB will get added in the head as a html script tag.

If the #LIB starts with http:// or https:// then the string will be blindly placed in the src="" attrib.

If a file exists for the give #LIB then this is copied into the build folder and the resulting path is put into the src="" attrib.

If the file doesn't exist then the #LIB path is blindly put into src="" attrib and assumed user will manually handle the import.