New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ember-mobile-inputs

Package Overview
Dependencies
Maintainers
1
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-mobile-inputs - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

21

addon/components/mi-date.js

@@ -33,10 +33,15 @@ import Ember from "ember";

}else{
let format = this._getDateFormat();
$input.inputmask(format.toLowerCase(), {
"placeholder": format.toUpperCase(),
"clearMaskOnLostFocus": false
});
this._initDateMask();
}
}),
_initDateMask(){
let format = this._getDateFormat();
let $input = Ember.$(this.element).find('.desktop-input');
$input.inputmask(format.toLowerCase(), {
"placeholder": format.toUpperCase(),
"clearMaskOnLostFocus": false
});
},
setup: Ember.on('didInsertElement', function () {

@@ -46,5 +51,5 @@ if (!isTouchDevice()) {

let format = this._getDateFormat();
$input.inputmask(format.toLowerCase(), {
"clearMaskOnLostFocus": false
});
if (!this.get('disabled')) {
this._initDateMask();
}

@@ -51,0 +56,0 @@ let that = this;

{
"name": "ember-mobile-inputs",
"version": "0.4.1",
"version": "0.4.2",
"description": "Mobile- and Desktop- friendly inputs",

@@ -5,0 +5,0 @@ "directories": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc