Closed Lambdanaut closed 11 years ago
When making a call to iio.start(MyApplication, 'foobar') I will always get
iio.start(MyApplication, 'foobar')
Uncaught Error: ioAppManager.addCanvas: Invalid canvas id 'foobar'
This occurs even if the canvas ID is named "foobar".
Starting my app in full-screen mode with iio.start(MyApplication) on the other hand works just fine.
iio.start(MyApplication)
I figured it out. It was a bug on my part. My <canvas></canvas> element was below my <script></script>. Sorry about that!
<canvas></canvas>
<script></script>
When making a call to
iio.start(MyApplication, 'foobar')
I will always getUncaught Error: ioAppManager.addCanvas: Invalid canvas id 'foobar'
This occurs even if the canvas ID is named "foobar".
Starting my app in full-screen mode with
iio.start(MyApplication)
on the other hand works just fine.