Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (13 sloc) 0.34 kB
An.object().named('Territory').from(Circle, {
init: function(x) {
var target = typeof(x) == "string" ? x : x.name();
return this.clone().copy({
target: target,
}).radius(window[target].slots()).instance();
},
down: function(e) {
if (!e.on(this)) return;
this.moving = e;
if (e.button > 1) alert('expanding');
},
});
Jump to Line
Something went wrong with that request. Please try again.