Sha256: 566998f469d1fc0bbaabab832991a751506cd51d625fc92e370067526335f291

Contents?: true

Size: 1.43 KB

Versions: 32

Compression:

Stored size: 1.43 KB

Contents

{I"
class:ETI"BundledAsset;FI"logical_path;TI"spina/admin/aviary.js;FI"
pathname;TI"O/Users/bram/apps/spina/app/assets/javascripts/spina/admin/aviary.js.coffee;FI"content_type;TI"application/javascript;TI"
mtime;Tl+x>UI"length;TiëI"digest;TI"%55dc5e048292156499136c95655273ff;FI"source;TI"ë(function() {
  var featherEditor, launchEditor;

  featherEditor = new Aviary.Feather({
    apiKey: 'e7a5e1c28334eb7a',
    apiVersion: 3,
    theme: 'light',
    language: 'nl',
    minimumStyling: true,
    tools: 'crop,enhance,contrast,sharpness,text,whiten,effects,warmth,orientation,brightness,saturation,redeye,blemish',
    appendTo: '',
    onSave: function(imageID, newURL) {
      var img;
      img = $('#' + imageID);
      img.attr('src', newURL);
      return $.post(img.attr('data-posturl'), {
        new_image: newURL
      });
    },
    onError: function(errorObj) {
      return alert(errorObj.message);
    }
  });

  launchEditor = function(id, src) {
    featherEditor.launch({
      image: id,
      url: src
    });
    return false;
  };

  $(document).on('click', '[data-aviary]', function(e) {
    var image;
    e.preventDefault();
    image = $(this).parents('.item').find('img');
    return launchEditor(image.attr('id'), image.attr('data-image'));
  });

}).call(this);
;TI"required_assets_digest;TI"%c1c5853d82ebe969d41afc43844ac5c5;FI"
_version;TI"%64e62ddc273c2f5847f30d698ca14b67;F

Version data entries

32 entries across 16 versions & 1 rubygems

Version Path
spina-0.6.29 test/dummy/tmp/cache/assets/development/sprockets/4f400e0c35f5b6cc7b72ae924918e77a
spina-0.6.29 test/dummy/tmp/cache/assets/development/sprockets/21ec8260381d27d6710deb381685d3b6
spina-0.6.28 test/dummy/tmp/cache/assets/development/sprockets/4f400e0c35f5b6cc7b72ae924918e77a
spina-0.6.28 test/dummy/tmp/cache/assets/development/sprockets/21ec8260381d27d6710deb381685d3b6
spina-0.6.27 test/dummy/tmp/cache/assets/development/sprockets/21ec8260381d27d6710deb381685d3b6
spina-0.6.27 test/dummy/tmp/cache/assets/development/sprockets/4f400e0c35f5b6cc7b72ae924918e77a
spina-0.6.26 test/dummy/tmp/cache/assets/development/sprockets/4f400e0c35f5b6cc7b72ae924918e77a
spina-0.6.26 test/dummy/tmp/cache/assets/development/sprockets/21ec8260381d27d6710deb381685d3b6
spina-0.6.25 test/dummy/tmp/cache/assets/development/sprockets/4f400e0c35f5b6cc7b72ae924918e77a
spina-0.6.25 test/dummy/tmp/cache/assets/development/sprockets/21ec8260381d27d6710deb381685d3b6
spina-0.6.24 test/dummy/tmp/cache/assets/development/sprockets/4f400e0c35f5b6cc7b72ae924918e77a
spina-0.6.24 test/dummy/tmp/cache/assets/development/sprockets/21ec8260381d27d6710deb381685d3b6
spina-0.6.23 test/dummy/tmp/cache/assets/development/sprockets/4f400e0c35f5b6cc7b72ae924918e77a
spina-0.6.23 test/dummy/tmp/cache/assets/development/sprockets/21ec8260381d27d6710deb381685d3b6
spina-0.6.22 test/dummy/tmp/cache/assets/development/sprockets/21ec8260381d27d6710deb381685d3b6
spina-0.6.22 test/dummy/tmp/cache/assets/development/sprockets/4f400e0c35f5b6cc7b72ae924918e77a
spina-0.6.21 test/dummy/tmp/cache/assets/development/sprockets/4f400e0c35f5b6cc7b72ae924918e77a
spina-0.6.21 test/dummy/tmp/cache/assets/development/sprockets/21ec8260381d27d6710deb381685d3b6
spina-0.6.20 test/dummy/tmp/cache/assets/development/sprockets/4f400e0c35f5b6cc7b72ae924918e77a
spina-0.6.20 test/dummy/tmp/cache/assets/development/sprockets/21ec8260381d27d6710deb381685d3b6