Sha256: f8d3ab81a8bd865dd2be931a6d11a2a6d4476e33c738284eb6d3c9d508be6a54

Contents?: true

Size: 1.82 KB

Versions: 5

Compression:

Stored size: 1.82 KB

Contents

{:uriI"file:///Users/ilia/my_projects/sample_filter/lib/assets/javascripts/sample_filter/script.js?type=application/javascript&pipeline=self&id=9be83cfb4beb81d6f5196e2d1763805cf11bfd2fc9f870b597fe04734553c638: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"$(document).ready(function() {

  $('.datepicker_input').datepicker({
    timepicker: true,
  });

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

// var startDate = new Date(2016, 10, 5);
// var dp = $('#datepicker').datepicker({startDate: startDate}).data('datepicker');
// dp.selectDate(startDate)


function parseFilterDate(date_string) {
  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"%-Nx=YJcqՍ?<:lengthi:dependencies_digest"%n`qE҇q}b+h??N:idI"E9be83cfb4beb81d6f5196e2d1763805cf11bfd2fc9f870b597fe04734553c638;F:
mtimel+cY

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/ri/RIe-rftRV4zc9CEN7jqSqrE8hgH2DEW0HxNnNFYEz5s.cache
sample_filter-0.1.3 spec/dummy/tmp/cache/assets/sprockets/v3.0/ri/RIe-rftRV4zc9CEN7jqSqrE8hgH2DEW0HxNnNFYEz5s.cache
sample_filter-0.1.2 spec/dummy/tmp/cache/assets/sprockets/v3.0/ri/RIe-rftRV4zc9CEN7jqSqrE8hgH2DEW0HxNnNFYEz5s.cache
sample_filter-0.1.1 spec/dummy/tmp/cache/assets/sprockets/v3.0/ri/RIe-rftRV4zc9CEN7jqSqrE8hgH2DEW0HxNnNFYEz5s.cache
sample_filter-0.1.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/ri/RIe-rftRV4zc9CEN7jqSqrE8hgH2DEW0HxNnNFYEz5s.cache