Sha256: 6efdde8e4f7dd2bf21b4cc6f3be912fe54d9a733be13daa10b886386ae497f20

Contents?: true

Size: 1.55 KB

Versions: 1

Compression:

Stored size: 1.55 KB

Contents

{:uriI"file:///Users/kobaltz/Rails/simple_bind/app/assets/javascripts/simple_bind.js?type=application/javascript&pipeline=self&id=f0e16d64b52ae613206fa319d136f4ed74c71a1dcf901f1c002c6b72ae68a7ab: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());
  });

  $('select').change(function() {
    var id = $(this).data('bind');
    $("[bind='" + id + "']").html($(this).find("option:selected").text());
  });
};

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"%GKQsA
f:lengthi:dependencies_digest"%M0=M<ɁO'+d1Gqo:idI"Ef0e16d64b52ae613206fa319d136f4ed74c71a1dcf901f1c002c6b72ae68a7ab;F:
mtimel+H(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/I9/I9B9W3dKv4ApmTlXUHlCdrY1y84D6QOfeaGYXy9tl24.cache