Showing 544 of 841 total issues
Function buildLabelDiffs
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
buildLabelDiffs: function() {
var me = this;
me.labelDiffs = [];
var scaleLabelDiffs = [];
// Parse common labels once
Function hoverDate
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
hoverDate: function(e) {
//ignore mouse movements while an above-calendar text input has focus
if (this.container.find('input[name=daterangepicker_start]').is(":focus") || this.container.find('input[name=daterangepicker_end]').is(":focus"))
return;
Function update
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
update: function(maxWidth, maxHeight, margins) {
var me = this;
// Update Lifecycle - Probably don't want to ever extend or overwrite this function ;)
me.beforeUpdate();
Function draw
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
draw: function(chartArea) {
var vm = this._view;
var model = this._model;
var ctx = this._chart.ctx;
var pointStyle = vm.pointStyle;
Function addDownloadButton
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function addDownloadButton(chart) {
var element = chart.element;
var link = document.createElement("a");
link.download = chart.options.download === true ? "chart.png" : chart.options.download; // http://caniuse.com/download
link.style.position = "absolute";
Function descriptors
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
descriptors: function(chart) {
var cache = chart._plugins || (chart._plugins = {});
if (cache.id === this._cacheId) {
return cache.descriptors;
}
Function applyPlacement
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Tooltip.prototype.applyPlacement = function (offset, placement) {
var $tip = this.tip()
var width = $tip[0].offsetWidth
var height = $tip[0].offsetHeight
Function utcOffset
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
utcOffset : function (input, keepLocalTime) {
var offset = this._offset || 0,
localAdjust;
if (input != null) {
if (typeof input === 'string') {
Method run_check
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def self.run_check(check)
rows = nil
error = nil
tries = 1
Function makeDateFromStringAndArray
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function makeDateFromStringAndArray(config) {
var tempConfig,
bestMoment,
scoreToBeat,
Function attr
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
attr: function( elem, name, value ) {
var hooks, ret,
nType = elem.nodeType;
// don't get/set attributes on text, comment and attribute nodes
Function promise
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
jQuery.ready.promise = function( obj ) {
if ( !readyList ) {
readyList = jQuery.Deferred();
Function handlers
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
handlers: function( event, handlers ) {
var sel, handleObj, matches, i,
handlerQueue = [],
delegateCount = handlers.delegateCount,
cur = event.target;
Function _prepareDragStart
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_prepareDragStart: function (/** Event */evt, /** Touch */touch, /** HTMLElement */target) {
var _this = this,
el = _this.el,
options = _this.options,
ownerDocument = el.ownerDocument,
Function inserted
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
inserted: function inserted (el, binding, vnode) {
{
if (!modelableTagRE.test(vnode.tag)) {
warn(
"v-model is not supported on element type: <" + (vnode.tag) + ">. " +
Function updateDOMProps
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function updateDOMProps (oldVnode, vnode) {
if (!oldVnode.data.domProps && !vnode.data.domProps) {
return
}
var key, cur;
Function _mount
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Vue.prototype._mount = function (
el,
hydrating
) {
var vm = this;
Function _createElement
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _createElement (
context,
tag,
data,
children
Function setSelected
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function setSelected (el, binding, vm) {
var value = binding.value;
var isMultiple = el.multiple;
if (isMultiple && !Array.isArray(value)) {
"development" !== 'production' && warn(
Function resolveAsyncComponent
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function resolveAsyncComponent (
factory,
cb
) {
if (factory.requested) {