ember-cli-bootstrap-datepicker
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -7,5 +7,6 @@ import Ember from 'ember'; | ||
setupBootstrapDatepicker: function() { | ||
var self = this; | ||
var self = this, | ||
element = this.$(); | ||
this.$(). | ||
element. | ||
datepicker({ | ||
@@ -18,3 +19,2 @@ autoclose: this.get('autoclose') || true, | ||
}). | ||
datepicker('setDate', new Date(this.get('value'))). | ||
on('changeDate', function(event) { | ||
@@ -25,2 +25,6 @@ Ember.run(function() { | ||
}); | ||
if (value) { | ||
element.datepicker('setDate', new Date(this.get('value'))); | ||
}; | ||
}.on('didInsertElement'), | ||
@@ -27,0 +31,0 @@ |
{ | ||
"name": "ember-cli-bootstrap-datepicker", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"directories": { | ||
@@ -5,0 +5,0 @@ "doc": "doc", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14311
197