public/assets/materialize/date_picker/picker-7a9d1216fe1172f8e8fd78fb86cfd4da25c909ebd6983cba5da20817d437d92b.js
Function PickerConstructor
has 394 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function PickerConstructor( ELEMENT, NAME, COMPONENT, OPTIONS ) {
// If there’s no element, return the picker constructor.
if ( !ELEMENT ) return PickerConstructor
File picker-7a9d1216fe1172f8e8fd78fb86cfd4da25c909ebd6983cba5da20817d437d92b.js
has 539 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* pickadate.js v3.5.0, 2014/04/13
* By Amsul, http://amsul.ca
* Hosted on http://amsul.github.io/pickadate.js
* Licensed under MIT
Function prepareElementRoot
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function prepareElementRoot() {
P.$root.
on({
Function open
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
open: function( dontGiveFocus ) {
// If it’s already open, do nothing.
if ( STATE.open ) return P
Function start
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
start: function() {
// If it’s already started, do nothing.
if ( STATE && STATE.start ) return P
Function prepareElementHidden
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function prepareElementHidden() {
var name
if ( SETTINGS.hiddenName === true ) {
Avoid too many return
statements within this function. Open
Open
return P.component.get( thing )