Skip to content

Commit

Permalink
#73 Implement missing Browser APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkosertic committed Dec 10, 2018
1 parent 2dd5d1d commit ed92ee4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import org.jbox2d.dynamics.joints.RevoluteJointDef

object JBox2DSimulationKotlin {

private var scene: JBox2DSimulation.Scene? = null
private var scene: JBox2DSimulationKotlin.Scene? = null
private var renderingContext2D: CanvasRenderingContext2D? = null

class Scene {
Expand Down Expand Up @@ -159,7 +159,7 @@ object JBox2DSimulationKotlin {
@JvmStatic
@Export("main")
fun main(args: Array<String>?) {
scene = JBox2DSimulation.Scene()
scene = JBox2DSimulationKotlin.Scene()
val theCanvas = Window.window().document().getElementById<HTMLCanvasElement>("benchmark-canvas")
renderingContext2D = theCanvas.getContext("2d")
}
Expand Down

0 comments on commit ed92ee4

Please sign in to comment.