Skip to content

Instantly share code, notes, and snippets.

@vizanto
Last active December 12, 2015 07:58
Show Gist options
  • Save vizanto/4740056 to your computer and use it in GitHub Desktop.
Save vizanto/4740056 to your computer and use it in GitHub Desktop.
class VODefinition {
static function build() {
m.mixin(0, "Point", {
x: [0, integer, bindable],
y: [1, integer, bindable]
});
var Point = "nl.onlinetouch.vo.Point";
m.mixin(1, "Sized", {
width: [0, integer, bindable],
height: [1, integer, bindable]
});
var Sized = "nl.onlinetouch.vo.Sized";
m._class(3, "Box", { _implements: [Point, Sized] }, { } );
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment