Sha256: fda2f1354999a44d8390e27100c22a3f834d2b7b522b92ff9611d261e44ed540

Contents?: true

Size: 1.15 KB

Versions: 5

Compression:

Stored size: 1.15 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1355470625.485904:@value"-{I"
class:EFI"BundledAsset;FI"logical_path;FI"!mercury/dialogs/forecolor.js;FI"
pathname;FI"~/Users/brownjohn/.rvm/gems/ruby-1.9.3-p194/gems/mercury-rails-0.8.0/app/assets/javascripts/mercury/dialogs/forecolor.js.coffee;FI"content_type;FI"application/javascript;FI"
mtime;FI"2012-08-08T16:13:36+08:00;FI"length;FiI"digest;F"%4ba1754fbb234d6be75ebd711bbc82afI"source;FI"(function() {

  this.Mercury.dialogHandlers.foreColor = function() {
    var _this = this;
    return this.element.find('.picker, .last-picked').on('click', function(event) {
      var color;
      color = jQuery(event.target).css('background-color').toHex();
      _this.element.find('.last-picked').css({
        background: color
      });
      _this.button.css({
        backgroundColor: color
      });
      return Mercury.trigger('action', {
        action: 'foreColor',
        value: color
      });
    });
  };

}).call(this);
;FI"required_assets_digest;F"%acd4ac5a76a722027327f53eaf95c12fI"
_version;F"%9f3b95dd7ea3030dc35985c0a8020862

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
amalgam-2.1.4 spec/dummy/tmp/cache/assets/CCC/D20/sprockets%2F2c4b202cde474c09d063716c6a3c7332
amalgam-2.1.3.1 spec/dummy/tmp/cache/assets/CCC/D20/sprockets%2F2c4b202cde474c09d063716c6a3c7332
amalgam-2.1.3 spec/dummy/tmp/cache/assets/CCC/D20/sprockets%2F2c4b202cde474c09d063716c6a3c7332
amalgam-2.1.2 spec/dummy/tmp/cache/assets/CCC/D20/sprockets%2F2c4b202cde474c09d063716c6a3c7332
amalgam-2.1.1 spec/dummy/tmp/cache/assets/CCC/D20/sprockets%2F2c4b202cde474c09d063716c6a3c7332