Sha256: 6348eba750f6aacef4062a9f0fe3ed00ec6c81c4d045a038884c55f41201cbf1

Contents?: true

Size: 1.92 KB

Versions: 5

Compression:

Stored size: 1.92 KB

Contents

{:uriI"file:///Users/ilia/my_projects/sample_filter/lib/assets/javascripts/sample_filter/script.js?type=application/javascript&pipeline=self&id=64893a1ebb2658f27d2af7f77298c4a09cad4bb792c9faa1f5c75fc72e848da8:ET:load_pathI"A/Users/ilia/my_projects/sample_filter/lib/assets/javascripts;T:
filenameI"Y/Users/ilia/my_projects/sample_filter/lib/assets/javascripts/sample_filter/script.js;T:	nameI"sample_filter/script;T:logical_pathI"!sample_filter/script.self.js;T:content_typeI"application/javascript;T:sourceI"O$(document).ready(function() {

  $('.datepicker_input').datepicker({
    startDate: parseFilterDate($(this), '20.02.2016 09:30'),
    timepicker: true,
    // onShow: function(inst, animationCompleted) {
    //   console.log(inst);
    //   inst.update({startDate: parseFilterDate('20.02.2016 09:30')})
    // }
  });

  // $('.datepicker_input').each(function(i, el){
  //   // $(el).data('datepicker').startDate(parseFilterDate('20.02.2016 09:30'));
  //   // $(el).data('datepicker').startDate(parseFilterDate('20.02.2016 09:30'));
  // });
})


function parseFilterDate(th, date_string) {
  console.log(th);
  var reggie = /(\d{2}).(\d{2}).(\d{4}) (\d{2}):(\d{2})/;
  var dateArray = reggie.exec(date_string);
  return new Date(
    (+dateArray[3]),
    (+dateArray[2])-1,
    (+dateArray[1]),
    (+dateArray[4]),
    (+dateArray[5])
  );
}
;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"gfile-digest:///Users/ilia/my_projects/sample_filter/lib/assets/javascripts/sample_filter/script.js;TTF:
requiredo;;}F:stubbedo;;}F:
linkso;;}F:charsetI"
utf-8;F:digest"%@D͖?JS)Br(Bv쓞:lengthiO:dependencies_digest"%-idHːfTu	cgw!}:idI"E64893a1ebb2658f27d2af7f77298c4a09cad4bb792c9faa1f5c75fc72e848da8;F:
mtimel+Y

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sample_filter-0.1.4 spec/dummy/tmp/cache/assets/sprockets/v3.0/un/un_L1CfVN0D482pv7Ri9ODdhpmoV_TrjgcuFjIGXFAg.cache
sample_filter-0.1.3 spec/dummy/tmp/cache/assets/sprockets/v3.0/un/un_L1CfVN0D482pv7Ri9ODdhpmoV_TrjgcuFjIGXFAg.cache
sample_filter-0.1.2 spec/dummy/tmp/cache/assets/sprockets/v3.0/un/un_L1CfVN0D482pv7Ri9ODdhpmoV_TrjgcuFjIGXFAg.cache
sample_filter-0.1.1 spec/dummy/tmp/cache/assets/sprockets/v3.0/un/un_L1CfVN0D482pv7Ri9ODdhpmoV_TrjgcuFjIGXFAg.cache
sample_filter-0.1.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/un/un_L1CfVN0D482pv7Ri9ODdhpmoV_TrjgcuFjIGXFAg.cache