Sha256: 1d9fbf892ae0264ca254586aaf9a3edb8a64be0cba2cef727bd77d7d720f91d5

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 KB

Contents

{:uriI"file:///app/app/assets/javascripts/quby/answers/dont_submit_on_enter.js?type=application/javascript&pipeline=self&id=f21706f6c592bea8712800e4259d8ae6e2f5441ab5b034d227b1dc955b289a45:ET:load_pathI" /app/app/assets/javascripts;T:
filenameI"E/app/app/assets/javascripts/quby/answers/dont_submit_on_enter.js;T:	nameI"&quby/answers/dont_submit_on_enter;T:logical_pathI".quby/answers/dont_submit_on_enter.self.js;T:content_typeI"application/javascript;T:sourceI"(function() {
  function dontSubmitOnEnter(event){
    event.which = event.which || event.keyCode;

    if($(event.target).is('textarea'))
      return;

    if(event.which == 13)
      preventDefault(event);
  }
  $(document).on('keydown', dontSubmitOnEnter);
})();
;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"Sfile-digest:///app/app/assets/javascripts/quby/answers/dont_submit_on_enter.js;TTF:
requiredo;;}F:stubbedo;;}F:
linkso;;}F:charsetI"
utf-8;F:digest"%JPB_`n7G>U:lengthi:dependencies_digest"%=؁p6=x82L=~_:idI"Ef21706f6c592bea8712800e4259d8ae6e2f5441ab5b034d227b1dc955b289a45;F:
mtimel+R

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
quby-5.1.0 spec/internal/tmp/cache/assets/sprockets/v3.0/BC/BcvHU5Yxh00Yf_HS3UO4jkjaCMK2n-QgDXkpfnacTxw.cache