o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1344536370.617437:@value"S	{I"
class:EFI"BundledAsset;�FI"logical_path;�F"3ample_assets/classes/ample_assets_uploadify.jsI"
pathname;�F"}/Users/tcmacdonald/Sites/ample/ample_assets/app/assets/javascripts/ample_assets/classes/ample_assets_uploadify.js.coffeeI"content_type;�FI"application/javascript;�FI"
mtime;�FI"2012-05-16T12:26:59-04:00;�FI"length;�FiAI"digest;�F"%bb08ef8f652cce90ccf5b7fd410d48b8I"source;�FI"A(function() {
  var __hasProp = {}.hasOwnProperty,
    __extends = 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; };

  window.AmpleAssetsUploadify = (function(_super) {

    __extends(AmpleAssetsUploadify, _super);

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

    AmpleAssetsUploadify.prototype.init = function() {
      this.log("init()");
      return this.html();
    };

    AmpleAssetsUploadify.prototype.html = function() {
      var auth_token, csrf_param, csrf_token, uploadify_script_data;
      this.log("html()");
      csrf_token = $('meta[name=csrf-token]').attr('content');
      csrf_param = $('meta[name=csrf-param]').attr('content');
      auth_token = $('meta[name=auth-token]').attr('content');
      uploadify_script_data = {};
      uploadify_script_data[csrf_param] = encodeURIComponent(encodeURIComponent(csrf_token));
      uploadify_script_data['auth_token'] = auth_token;
      return $('#uploadify').uploadify({
        'uploader': '/assets/ample_assets/uploadify.swf',
        'script': "" + ample_assets.mount_at + "files",
        'cancelImg': '/assets/ample_assets/cancel.png',
        'buttonImg': '/assets/ample_assets/btn-select-files.png',
        'height': 34,
        'scriptData': uploadify_script_data,
        'queueID': 'fileQueue',
        'auto': true,
        'multi': true,
        'wmode': 'transparent',
        'onAllComplete': function() {
          return $('body').trigger('ample_uploadify.complete');
        }
      });
    };

    return AmpleAssetsUploadify;

  })(CoffeeCup);

}).call(this);
;�FI"required_assets_digest;�F"%44d3221ddf3a169dc334546ed700bbf8I"
_version;�F"%9f3b95dd7ea3030dc35985c0a8020862