Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (21 sloc) 0.737 kb
An.object().named('Inventory').from(Widget,{
// TODO Fix Inventory
// init: function() {
// Objects.each(function(v,k) { if (v) localStorage[k] = k });
// return this.clone().instance().copy({
// button: an(Image,'images/inventory_button.png').at(0,10).copy({
// down: function(e) {
// if (e.on(this)) Inventory.show()
// },
// }),
// }).at(10,50).get('objects/',function(txt) {
// eval('(' + txt + ')').every(function(v,i) {
// localStorage[v] = 'use("' + v + '")';
// });
// });
// },
// show: function() { //NB: don't convert to a says as this switch breaks the bool check
// var x = this.x; var y = this.y;
// this.content = this.content ? this.content.collapse() : localStorage.mirror();
// },
});
Jump to Line
Something went wrong with that request. Please try again.