Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (13 sloc) 340 Bytes
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');
},
});
Something went wrong with that request. Please try again.