UNPKG

bungee

Version:

Bungee is a declarative language engine to run inside a browser. The node module contains the offline compiler.

44 lines (33 loc) 1.16 kB
<html> <head> <title> Bungee </title> <link rel="stylesheet" href="normalize.css"> <script type="text/javascript" src="../../bungee.js"></script> <script type="text/jump"> Window { InputItem { width: this.parent.width height: this.parent.height Image { top: 100 left: this.parent.width/2 - this.width/2 width: 128; height: 128; src: "weather-clouds.png"; scale: this.parent.mouseAbsX ? (this.parent.mouseAbsX / (this.parent.width / 2)) : 1 } Image { top: 300; left: this.parent.width/2 - this.width/2; width: 128; height: 128; src: "weather-few-clouds-night.png"; scale: this.parent.mouseAbsY ? (this.parent.mouseAbsY / (this.parent.width / 2)) : 1 } } } </script> </head> <body onload="Bungee.jump();"> </body> </html>