Sha256: e2f466244c7e53bc6e0a0598f77f74efde4fcd67fbe5702cc424431bf84e65a3
Contents?: true
Size: 601 Bytes
Versions: 12
Compression:
Stored size: 601 Bytes
Contents
I"M(function() { var opts; opts = { date: { format: 'd mmmm yyyy', formatSubmit: 'yyyy-mm-dd', hiddenName: true }, time: { format: 'h:i A', formatSubmit: 'HH:i', formatLabel: 'h:i A <sm!all>HH:i</sm!all>', hiddenName: true } }; this.app.directive('pickadate', function() { return function($scope, $el, $attrs) { switch ($attrs['pickadate']) { case 'date': return $($el).pickadate(opts.date); case 'time': return $($el).pickatime(opts.time); } }; }); }).call(this); :ET
Version data entries
12 entries across 12 versions & 2 rubygems