Showing 181 of 181 total issues
Function closure
has 726 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function closure ( target, options, originalOptions ){
var actions = getActions( );
// All variables local to 'closure' are prefixed with 'scope_'
File nouislider.js
has 1312 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* Materialize v0.100.2 (http://materializecss.com)
* Copyright 2014-2015 Materialize
* MIT License (https://raw.githubusercontent.com/Dogfalo/materialize/master/LICENSE)
*/
Function exports
has 560 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(grunt) {
var concatFile = 'temp/js/materialize_concat.js.map';
// configure the tasks
Function PickerConstructor
has 427 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.date.js
has 852 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* Date picker for pickadate.js v3.5.0
* http://amsul.github.io/pickadate.js/date.htm
*/
Function init
has 408 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init : function(options) {
var defaults = {
duration: 200, // ms
dist: -100, // zoom scale TODO: make this more intuitive as an option
shift: 0, // spacing for center image
Function init
has 291 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init : function(options) {
var defaults = {
menuWidth: 300,
edge: 'left',
closeOnClick: false,
Function nodes
has 269 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
DatePicker.prototype.nodes = function( isOpen ) {
var
calendar = this,
settings = calendar.settings,
File forms.js
has 584 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
(function ($) {
$(document).ready(function() {
// Function to update labels of text fields
Materialize.updateTextFields = function() {
File picker.js
has 568 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
File picker.time.js
has 562 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* ClockPicker v0.0.7 (http://weareoutman.github.io/clockpicker/)
* Copyright 2014 Wang Shenwei.
* Licensed under MIT (https://github.com/weareoutman/clockpicker/blob/gh-pages/LICENSE)
*
File Gruntfile.js
has 562 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
module.exports = function(grunt) {
var concatFile = 'temp/js/materialize_concat.js.map';
// configure the tasks
Function material_chip
has 233 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.material_chip = function (options) {
var self = this;
this.$el = $(this);
this.$document = $(document);
this.SELS = {
Function material_select
has 232 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.material_select = function (callback) {
$(this).each(function(){
var $select = $(this);
if ($select.hasClass('browser-default')) {
Function materialbox
has 219 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.materialbox = function () {
return this.each(function() {
if ($(this).hasClass('initialized')) {
Function init
has 211 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init : function(options) {
var defaults = {
indicators: true,
height: 400,
transition: 500,
Function dropdown
has 193 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.dropdown = function (options) {
var defaults = {
inDuration: 300,
outDuration: 225,
constrainWidth: true, // Constrains width of dropdown to the activator
Function ClockPicker
has 184 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ClockPicker(element, options) {
var popover = $(tpl),
plate = popover.find('.clockpicker-plate'),
holder = popover.find('.picker__holder'),
hoursView = popover.find('.clockpicker-hours'),
Function tooltip
has 171 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.tooltip = function (options) {
var timeout = null,
margin = 5;
// Defaults
File carousel.js
has 444 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
(function ($) {
var methods = {
init : function(options) {