goog.require('armadillo.Actor');
goog.require('goog.Disposable');
goog.require('goog.dom');
-goog.require('goog.ui.AnimatedZippy');
/**
* A file in a directory listing.
this.highlight_ = '';
this.isDirectory_ = app.isDirectory(name);
this.actor_ = new armadillo.Actor(this);
- this.zippy_ = null;
};
goog.inherits(armadillo.File, goog.Disposable);
goog.events.unlistenByKey(this.linkListener_);
goog.events.unlistenByKey(this.actorListener_);
this.actor_.dispose();
- if (this.zippy_)
- this.zippy_.dispose();
};
/**
e.stopPropagation();
if (!this.actor_.isInDocument())
this.actor_.render(this.element_);
- if (!this.zippy_) {
- this.zippy_ = new goog.ui.AnimatedZippy(this.title_,
- this.actor_.getElement(), false);
- this.zippy_.toggle();
- }
+ $(this.actor_.getElement()).slideToggle('fast');
};
/**