// Generated by CoffeeScript 1.12.7
var DrupalFilepicker,
  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
  hasProp = {}.hasOwnProperty;

DrupalFilepicker = (function(superClass) {
  extend(DrupalFilepicker, superClass);

  function DrupalFilepicker() {
    return DrupalFilepicker.__super__.constructor.apply(this, arguments);
  }

  DrupalFilepicker.prototype.readOpts = function() {
    DrupalFilepicker.__super__.readOpts.call(this);
    return this.setDownloadManagerClass(DrupalDownloadManager);
  };

  DrupalFilepicker.prototype.type = function() {
    return 'drupal';
  };

  return DrupalFilepicker;

})(Filepicker);

ez5.session_ready(function() {
  return DrupalFilepicker.session_ready('drupal', 'easydb-drupal-plugin');
});
