spec/dummy/tmp/cache/assets/development/sprockets/850d92cf676cc2c2c662ee8dc328f82c in adherent-0.2.2.4 vs spec/dummy/tmp/cache/assets/development/sprockets/850d92cf676cc2c2c662ee8dc328f82c in adherent-0.2.3

- old
+ new

@@ -1,8 +1,8 @@ {I" class:ETI"ProcessedAsset;FI"logical_path;TI"adherent/application.js;FI" pathname;TI"T/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/application.js;FI"content_type;TI"application/javascript;TI" -mtime;Tl+nTI" length;TiLI" digest;TI"%896a3fde7ca343914d08694dc02c5f7c;FI" source;TI"L// This is a manifest file that'll be compiled into application.js, which will include all the files +mtime;Tl+TI" length;TiuI" digest;TI"%b67c10ce235ce25ccf4c54b4ecfd5e5d;FI" source;TI"u// This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path. // @@ -16,34 +16,78 @@ -; -;TI"dependency_digest;TI"%d1bd05d9deb15fe065230c7cbefccd08;FI"required_paths;T[I"b/home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/jquery-rails-3.1.2/vendor/assets/javascripts/jquery.js;FI"f/home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/jquery-rails-3.1.2/vendor/assets/javascripts/jquery_ujs.js;FI"j/home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/jquery-ui-rails-5.0.3/app/assets/javascripts/jquery-ui/core.js;FI"p/home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/jquery-ui-rails-5.0.3/app/assets/javascripts/jquery-ui/datepicker.js;FI"O/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/affix.js;FI"O/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/alert.js;FI"P/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/button.js;FI"R/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/carousel.js;FI"R/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/collapse.js;FI"R/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/dropdown.js;FI"M/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/tab.js;FI"T/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/transition.js;FI"S/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/scrollspy.js;FI"O/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/modal.js;FI"Q/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/tooltip.js;FI"Q/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/popover.js;FI"S/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap-sprockets.js;FI"Q/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/adhesion.js;FI"T/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/allpayments.js;FI"O/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/coords.js;FI"T/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/date_picker.js;FI"^/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/jquery.dataTables.min.js;FI"P/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/members.js;FI"Q/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/payments.js;FI"S/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/reglements.js;FI"T/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/application.js;FI"dependency_paths;T[ {I" path;TI"E/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent;FI" -mtime;TI"2014-12-25T16:03:15+01:00;TI" digest;TI"%23ba186e8c86a3da1922ab782215c30c;F{I" path;TI"T/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/application.js;FI" -mtime;TI"2014-12-26T15:21:09+01:00;TI" digest;TI"%17204d028fc41997e43f6ea5babbff5c;F{I" path;TI"b/home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/jquery-rails-3.1.2/vendor/assets/javascripts/jquery.js;FI" -mtime;TI"2014-09-27T09:32:07+02:00;TI" digest;TI"%85fd4d116d8c32a300fc0c7d3c3afa5e;F{I" path;TI"f/home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/jquery-rails-3.1.2/vendor/assets/javascripts/jquery_ujs.js;FI" -mtime;TI"2014-09-27T09:32:07+02:00;TI" digest;TI"%29277b946c1d3754af13672bfec0c660;F{I" path;TI"p/home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/jquery-ui-rails-5.0.3/app/assets/javascripts/jquery-ui/datepicker.js;FI" -mtime;TI"2014-12-25T15:51:52+01:00;TI" digest;TI"%a89cdf45332621a2be692ebd21cee5d0;F{I" path;TI"j/home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/jquery-ui-rails-5.0.3/app/assets/javascripts/jquery-ui/core.js;FI" -mtime;TI"2014-12-25T15:51:52+01:00;TI" digest;TI"%bd1029f91028b884fab449e1894149ca;F{I" path;TI"S/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap-sprockets.js;FI" -mtime;TI"2014-12-26T07:54:11+01:00;TI" digest;TI"%3685b5a7ae0c9b94a3bf2f907738db63;F{I" path;TI"O/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/affix.js;FI" -mtime;TI"2014-12-26T07:54:11+01:00;TI" digest;TI"%857407f35a4e9e880a98d6e18268cc4f;F{I" path;TI"O/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/alert.js;FI" -mtime;TI"2014-12-26T07:54:11+01:00;TI" digest;TI"%39b2eaffcb99a9c4143ccb9ca5bb24bb;F{I" path;TI"P/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/button.js;FI" -mtime;TI"2014-12-26T07:54:11+01:00;TI" digest;TI"%214b993c56987aa61515426f6a40cb26;F{I" path;TI"R/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/carousel.js;FI" -mtime;TI"2014-12-26T07:54:11+01:00;TI" digest;TI"%901af16395cf2f1c4fa7ad6d594f97f2;F{I" path;TI"R/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/collapse.js;FI" -mtime;TI"2014-12-26T07:54:11+01:00;TI" digest;TI"%6a4d02d8bc049e24addd59b08e134e77;F{I" path;TI"R/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/dropdown.js;FI" -mtime;TI"2014-12-26T07:54:11+01:00;TI" digest;TI"%5729402ece778269cdc1449309fa73b7;F{I" path;TI"M/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/tab.js;FI" -mtime;TI"2014-12-26T07:54:11+01:00;TI" digest;TI"%964881c2c8f09adf48d6b245e08050d4;F{I" path;TI"T/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/transition.js;FI" -mtime;TI"2014-12-26T07:54:11+01:00;TI" digest;TI"%f41d5dfca1faf71c3f3e8c1a4731ad24;F{I" path;TI"S/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/scrollspy.js;FI" -mtime;TI"2014-12-26T07:54:11+01:00;TI" digest;TI"%cdad1ba7f479f029b56012f2fd516709;F{I" path;TI"O/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/modal.js;FI" -mtime;TI"2014-12-26T07:54:11+01:00;TI" digest;TI"%b549421ac611d473d9f5a92f9bb2e466;F{I" path;TI"Q/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/tooltip.js;FI" -mtime;TI"2014-12-26T07:54:11+01:00;TI" digest;TI"%0e34c8bae02148a3d5f155cba42b94f5;F{I" path;TI"Q/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/popover.js;FI" -mtime;TI"2014-12-26T07:54:11+01:00;TI" digest;TI"%0bab7d4e8102327db5a56c6df41747e6;F{I" path;TI"Q/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/adhesion.js;FI" -mtime;TI"2013-08-19T18:22:20+02:00;TI" digest;TI"%07a01a8473b512bedfbac25193ba4e36;F{I" path;TI"T/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/allpayments.js;FI" -mtime;TI"2013-08-30T12:59:02+02:00;TI" digest;TI"%4de1605b08d36aacf13daf036d9be0ea;F{I" path;TI"O/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/coords.js;FI" -mtime;TI"2013-08-19T18:22:20+02:00;TI" digest;TI"%07a01a8473b512bedfbac25193ba4e36;F{I" path;TI"T/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/date_picker.js;FI" -mtime;TI"2013-08-19T18:22:20+02:00;TI" digest;TI"%e6441e98113e8abb3f84c2b0dfdfa2b2;F{I" path;TI"^/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/jquery.dataTables.min.js;FI" -mtime;TI"2013-08-30T11:28:14+02:00;TI" digest;TI"%99fffddf8e9163751df843623039b3d6;F{I" path;TI"P/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/members.js;FI" -mtime;TI"2013-08-30T17:44:11+02:00;TI" digest;TI"%88d3288dbf9487efc3c47c4f2e8b4aa8;F{I" path;TI"Q/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/payments.js;FI" -mtime;TI"2013-08-19T18:22:20+02:00;TI" digest;TI"%07a01a8473b512bedfbac25193ba4e36;F{I" path;TI"S/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/reglements.js;FI" -mtime;TI"2013-08-19T18:22:20+02:00;TI" digest;TI"%07a01a8473b512bedfbac25193ba4e36;FI" _version;TI"%069e88c06b889877799890854d7f4c40;F +// +// +// fonction pour transformer une chaine avec virgule en float +// la fonction retire les espaces et remplace la virgule par le point décimal +// avant d'appeler Number, la fonction native de js. +function stringToFloat(jcdata) { + + if (jcdata === undefined) { + return 0.0; + } + var d = String(jcdata).replace(/,/, '.'); + d = d.replace(/\s/g, ''); + if (isNaN(d)) { + return 0.0; + } else { + return Number(d); + } +} +// fonction permettant de mettre deux décimales à un nombre +// appelé lorsque l'utilisateur sort d'un champ pour remettre en forme sa saisir +// Par exemple 32 devient 32.00 ou 32.5 devient 32.50 +function $f_two_decimals() { + var number = stringToFloat(this.value); + if (isNaN(number)) { + this.value = '0.00'; + } else { + this.value = number.toFixed(2); + } +} + +// série de fonction qui prépare les champs débit et crédit pour la saisie +// quand on entre dans un champ qui est à 0, on le vide +function $f_empty() { + if (this.value === '0.00') { + this.value = ''; + } +} + + +jQuery(function () { + console.log('dans application js de Adherent'); + $('#main-zone').on('focus', '.decimal', $f_empty); //vide le champ s'il est à zero (pour faciliter la saisie) + $('#main-zone').on('blur', '.decimal', $f_two_decimals); +}); +;TI"dependency_digest;TI"%e3a3aec1546fc7eeb47d03a6fb9fe553;FI"required_paths;T[ I"b/home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/jquery-rails-3.1.2/vendor/assets/javascripts/jquery.js;FI"f/home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/jquery-rails-3.1.2/vendor/assets/javascripts/jquery_ujs.js;FI"j/home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/jquery-ui-rails-5.0.3/app/assets/javascripts/jquery-ui/core.js;FI"p/home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/jquery-ui-rails-5.0.3/app/assets/javascripts/jquery-ui/datepicker.js;FI"O/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/affix.js;FI"O/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/alert.js;FI"P/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/button.js;FI"R/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/carousel.js;FI"R/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/collapse.js;FI"R/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/dropdown.js;FI"M/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/tab.js;FI"T/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/transition.js;FI"S/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/scrollspy.js;FI"O/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/modal.js;FI"Q/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/tooltip.js;FI"Q/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/popover.js;FI"S/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap-sprockets.js;FI"Q/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/adhesion.js;FI"T/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/allpayments.js;FI"O/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/common.js;FI"O/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/coords.js;FI"T/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/date_picker.js;FI"^/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/jquery.dataTables.min.js;FI"P/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/members.js;FI"X/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/payments.js.coffee;FI"S/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/reglements.js;FI"T/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/application.js;FI"dependency_paths;T[!{I" path;TI"E/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent;FI" +mtime;TI"2015-03-21T11:36:28+01:00;TI" digest;TI"%8a3ec6984604bef17107b1f0bec25a85;F{I" path;TI"T/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/application.js;FI" +mtime;TI"2015-02-22T17:07:39+01:00;TI" digest;TI"%d26561ebcac3cf8218b8a320d692f921;F{I" path;TI"b/home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/jquery-rails-3.1.2/vendor/assets/javascripts/jquery.js;FI" +mtime;TI"2014-09-27T09:32:07+02:00;TI" digest;TI"%42d7228ca36fa7594740ab6f0194ebb9;F{I" path;TI"f/home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/jquery-rails-3.1.2/vendor/assets/javascripts/jquery_ujs.js;FI" +mtime;TI"2014-09-27T09:32:07+02:00;TI" digest;TI"%990090dbba562657159b0229c61c99d7;F{I" path;TI"p/home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/jquery-ui-rails-5.0.3/app/assets/javascripts/jquery-ui/datepicker.js;FI" +mtime;TI"2014-12-25T15:51:52+01:00;TI" digest;TI"%f50e4263721fd9c4dc64306ef2d8a662;F{I" path;TI"j/home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/jquery-ui-rails-5.0.3/app/assets/javascripts/jquery-ui/core.js;FI" +mtime;TI"2014-12-25T15:51:52+01:00;TI" digest;TI"%c43d339c3203a0b7e8ba1932eec68728;F{I" path;TI"S/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap-sprockets.js;FI" +mtime;TI"2014-12-27T08:50:34+01:00;TI" digest;TI"%c2425a616c8459baa7d997e5e91960f8;F{I" path;TI"O/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/affix.js;FI" +mtime;TI"2014-12-27T08:50:34+01:00;TI" digest;TI"%ec26c34e50090fc1636b1ba87c16f1e4;F{I" path;TI"O/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/alert.js;FI" +mtime;TI"2014-12-27T08:50:34+01:00;TI" digest;TI"%718d0679d9e38729fb4cec5b3d5ab7d8;F{I" path;TI"P/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/button.js;FI" +mtime;TI"2014-12-27T08:50:34+01:00;TI" digest;TI"%f04c014a572243c283b8a7943a2656cc;F{I" path;TI"R/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/carousel.js;FI" +mtime;TI"2014-12-27T08:50:34+01:00;TI" digest;TI"%5ca860ebd23ffdeabdaae4af3759d6f2;F{I" path;TI"R/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/collapse.js;FI" +mtime;TI"2014-12-27T08:50:34+01:00;TI" digest;TI"%7bcf16033c059fbb3fe223eafedb66ab;F{I" path;TI"R/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/dropdown.js;FI" +mtime;TI"2014-12-27T08:50:34+01:00;TI" digest;TI"%bcd81bb4c5754ad25c7c9c24e3f3ca65;F{I" path;TI"M/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/tab.js;FI" +mtime;TI"2014-12-27T08:50:34+01:00;TI" digest;TI"%af4fde1618c0a0b50bb5ccfce76e0aee;F{I" path;TI"T/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/transition.js;FI" +mtime;TI"2014-12-27T08:50:34+01:00;TI" digest;TI"%99e6d8d37f0b59e23c285a5502c3726c;F{I" path;TI"S/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/scrollspy.js;FI" +mtime;TI"2014-12-27T08:50:34+01:00;TI" digest;TI"%30abc99e1185affdea6570cb2012503c;F{I" path;TI"O/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/modal.js;FI" +mtime;TI"2014-12-27T08:50:34+01:00;TI" digest;TI"%21444b77120942276436af92006f650c;F{I" path;TI"Q/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/tooltip.js;FI" +mtime;TI"2014-12-27T08:50:34+01:00;TI" digest;TI"%a156940d1719b299fcab5ab7370386c4;F{I" path;TI"Q/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/popover.js;FI" +mtime;TI"2014-12-27T08:50:34+01:00;TI" digest;TI"%1561b0fb8e4b38753d427175c42563d3;F{I" path;TI"Q/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/adhesion.js;FI" +mtime;TI"2013-08-19T18:22:20+02:00;TI" digest;TI"%1d54d48dcb36a55547ce11fd048d937c;F{I" path;TI"T/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/allpayments.js;FI" +mtime;TI"2013-08-30T12:59:02+02:00;TI" digest;TI"%46a4a50b527395615882e23dc296f190;F{I" path;TI"O/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/common.js;FI" +mtime;TI"2015-02-22T18:19:02+01:00;TI" digest;TI"%d4d87f12b799fb7b58365838eee44fef;F{I" path;TI"O/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/coords.js;FI" +mtime;TI"2013-08-19T18:22:20+02:00;TI" digest;TI"%1d54d48dcb36a55547ce11fd048d937c;F{I" path;TI"T/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/date_picker.js;FI" +mtime;TI"2013-08-19T18:22:20+02:00;TI" digest;TI"%65c332bb19f46451f3f6966b0fc2e6d0;F{I" path;TI"^/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/jquery.dataTables.min.js;FI" +mtime;TI"2013-08-30T11:28:14+02:00;TI" digest;TI"%4145b0e0ba49899423244985ae9e9aa9;F{I" path;TI"P/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/members.js;FI" +mtime;TI"2015-02-22T18:17:17+01:00;TI" digest;TI"%2a4e816d960003bb894bc05c991bef4f;F{I" path;TI"X/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/payments.js.coffee;FI" +mtime;TI"2015-03-21T11:39:25+01:00;TI" digest;TI"%a934229c1edf0a22fdda284c63537a82;F{I" path;TI"S/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/reglements.js;FI" +mtime;TI"2013-08-19T18:22:20+02:00;TI" digest;TI"%1d54d48dcb36a55547ce11fd048d937c;FI" _version;TI"%d1429a9b81250b1cab2fc8a649c44d46;F \ No newline at end of file