Sha256: a71f79d1617188bfb4c8bf044654bf060f151b491bd0ff12cd1c95e8b7b2a7d6

Contents?: true

Size: 1.53 KB

Versions: 6

Compression:

Stored size: 1.53 KB

Contents

{:uriI"file://app/assets/javascripts/admin/img_preview.js?type=application/javascript&pipeline=self&id=9ce82e2d2741bc93bc1f697928385f5bac927fcd2dce078e0528fa3a79dc299b:ET:load_pathI"app/assets/javascripts;T:
filenameI"0app/assets/javascripts/admin/img_preview.js;T:	nameI"admin/img_preview;T:logical_pathI"admin/img_preview.self.js;T:content_typeI"application/javascript;T:sourceI"c
function renderImg(){
  xOffset = -20;
  yOffset = 40;
  $('.show-row img').hover(function(e){
    alert('asda')
    $('body').append( "<img src=" + this.src + " alt='Image preview' class='img-show' />" );
    $('.img-show')
      .css({
        'top': (e.pageY - xOffset) + 'px',
        'left': (e.pageX + yOffset) + 'px'
      })
      .fadeIn('slow');
  }, function(){
    $('.img-show').remove();
  });
  $('.show-row img').mousemove(function(e){
    $('.img-show')
      .css({
        'top': (e.pageY - xOffset) + 'px',
        'left': (e.pageX + yOffset) + 'px'
      })
      .fadeIn('slow');
  });
}
;T:
metadata{:dependencieso:Set:
@hash}
I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI">file-digest://app/assets/javascripts/admin/img_preview.js;TTF:
requiredo;;}F:stubbedo;;}F:
linkso;;}F:charsetI"
utf-8;F:digest"%kK^wIuVʄF20ހ:lengthic:dependencies_digest"%jlYu]S76`UoE--0:idI"E9ce82e2d2741bc93bc1f697928385f5bac927fcd2dce078e0528fa3a79dc299b;F:
mtimel+[[

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
keppler-2.1.4 installer/core/tmp/cache/assets/sprockets/v3.0/GP/GPZPbYax89m6fU67l7Gs_7G-YrwWUEm79iZLzSyfmZc.cache
keppler-2.1.3 installer/core/tmp/cache/assets/sprockets/v3.0/GP/GPZPbYax89m6fU67l7Gs_7G-YrwWUEm79iZLzSyfmZc.cache
keppler-2.1.2 installer/core/tmp/cache/assets/sprockets/v3.0/GP/GPZPbYax89m6fU67l7Gs_7G-YrwWUEm79iZLzSyfmZc.cache
keppler-2.1.1 installer/core/tmp/cache/assets/sprockets/v3.0/GP/GPZPbYax89m6fU67l7Gs_7G-YrwWUEm79iZLzSyfmZc.cache
keppler-2.1.pre.p1 installer/core/tmp/cache/assets/sprockets/v3.0/GP/GPZPbYax89m6fU67l7Gs_7G-YrwWUEm79iZLzSyfmZc.cache
keppler-2.1 installer/core/tmp/cache/assets/sprockets/v3.0/GP/GPZPbYax89m6fU67l7Gs_7G-YrwWUEm79iZLzSyfmZc.cache