moo-angular-input
Advanced tools
Comparing version 1.1.9 to 1.2.0
@@ -159,5 +159,7 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
post: function postLinkFn(scope, element, attrs) { | ||
if (attrs.hasOwnProperty == 'datepicker') { | ||
if (attrs.hasOwnProperty('datepicker')) { | ||
console.log('datepicked'); | ||
$('[datepicker] input').datepicker(); | ||
if ($ && typeof $.datepicker !== 'undefined') { | ||
$('[datepicker] input').datepicker(); | ||
} | ||
} | ||
@@ -164,0 +166,0 @@ } |
{ | ||
"name": "moo-angular-input", | ||
"version": "1.1.9", | ||
"version": "1.2.0", | ||
"description": "AngularJS Directive Component of the UI-Toolkit's Input for Mutual of Omaha's DXD Team", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -30,5 +30,7 @@ import template from './mooInput.html'; | ||
post: function postLinkFn(scope, element, attrs) { | ||
if (attrs.hasOwnProperty == 'datepicker') { | ||
if (attrs.hasOwnProperty('datepicker')) { | ||
console.log('datepicked'); | ||
$('[datepicker] input').datepicker(); | ||
if ($ && typeof $.datepicker !== 'undefined') { | ||
$('[datepicker] input').datepicker(); | ||
} | ||
} | ||
@@ -35,0 +37,0 @@ } |
Sorry, the diff of this file is not supported yet
29544
376