Sha256: 064288d5653a37a27f06c8a6502efbb32eb2a3f0bfbb8a8696ffb8f41989c808

Contents?: true

Size: 1.53 KB

Versions: 1

Compression:

Stored size: 1.53 KB

Contents

{:uriI"»file:///Users/kobaltz/Rails/simple_bind/app/assets/javascripts/simple_bind.js?type=application/javascript&pipeline=self&id=e946ef8d87f078561a6d99e24bf0a7a76aaf11b0d01f521a165015396f307dba:ET:load_pathI"</Users/kobaltz/Rails/simple_bind/app/assets/javascripts;T:
filenameI"K/Users/kobaltz/Rails/simple_bind/app/assets/javascripts/simple_bind.js;T:	nameI"simple_bind;T:logical_pathI"simple_bind.self.js;T:content_typeI"application/javascript;T:sourceI"þthis.simpleBind = function() {
  $('input:text').keyup(function() {
    var id = $(this).data('bind');
    $("[bind='" + id + "']").html($(this).val());
  });

  $('input:select').change(function() {
    var id = $(this).data('bind');
    $("[bind='" + id + "']").html($(this).val());
  });
};

if (typeof defined === "function" ? defined(Turbolinks) : void 0) {
  $(document).on('turbolinks:load', function() {
    simpleBind();
  });
} else {
  $(document).on('ready', function() {
    simpleBind();
  });
}
;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"Yfile-digest:///Users/kobaltz/Rails/simple_bind/app/assets/javascripts/simple_bind.js;TTF:
requiredo;;}F:stubbedo;;}F:
linkso;;}F:charsetI"
utf-8;F:digest"%”†ŒÌšÓùÏÔS»„–:Dë-}Q’³GoñÕhB:lengthiþ:dependencies_digest"%Ê_W÷£Œd¡dôMxöùN ºn2Š“Z¡`DU/:idI"Ee946ef8d87f078561a6d99e24bf0a7a76aaf11b0d01f521a165015396f307dba;F:
mtimel+¬'‘Y

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simple_bind-0.1.1 spec/dummy/tmp/cache/assets/sprockets/v3.0/Pr/PrpPbopQrJ61FIuB9Is9NCnhCDroU1XKKFRDS5V1cMs.cache