On Wed, Feb 5, 2014 at 2:41 PM, Brian Schott <[email protected]> wrote:

> But then I got errors and my jijx window looks like this.
>
>  J Http Server
>
> |domain error: addMimeTypes
> |   ((1{"1 mimetypes_jfilesrc_)    i.(<'ttf'))=(#mimetypes_jfilesrc_)
>


Thanks - fixed. I should have tried it on a fresh session. It looks like
mimetypes_jfilesrc doesn't get initialized until a later point.

I moved addMimeTypes'' to jev_get

https://github.com/joebo/j-html5-games-ch02/commit/343a6862044fcd0fcbafeae2d88eba0e447956f5#diff-d079d25bd6dd5f24d78fb0c2e0a56311

https://github.com/joebo/j-html5-games-ch02/blob/master/ch02.ijs

It seems to be working now for me. I don't think this is the 'right' way to
add mime types but it works. Thanks for letting me know
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to