Showing 544 of 841 total issues
Function createDataTable
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var createDataTable = function (series, columnType) {
var i, j, s, d, key, rows = [], sortedLabels = [];
for (i = 0; i < series.length; i++) {
s = series[i];
Function show
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Modal.prototype.show = function (_relatedTarget) {
var that = this
var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
this.$element.trigger(e)
Function backdrop
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Modal.prototype.backdrop = function (callback) {
var that = this
var animate = this.$element.hasClass('fade') ? 'fade' : ''
if (this.isShown && this.options.backdrop) {
Function each
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
each: function( obj, callback, args ) {
var value,
i = 0,
length = obj.length,
isArray = isArraylike( obj );
Function computeStyleTests
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function computeStyleTests() {
// Minified: var b,c,d,j
var div, body, container, contents;
body = document.getElementsByTagName( "body" )[ 0 ];
Function draw
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
draw: function() {
var me = this,
ctx = me.ctx,
valueOrDefault = helpers.getValueOrDefault,
opts = me.options,
Function updateOption
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
updateOption: function(value, data) {
var self = this;
var $item, $item_new;
var value_new, index_item, cache_items, cache_options, order_old;
Function activate
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Tab.prototype.activate = function (element, container, callback) {
var $active = container.find('> .active')
var transition = callback
&& $.support.transition
&& ($active.length && $active.hasClass('fade') || !!container.find('> .fade').length)
Function ajaxHandleResponses
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ajaxHandleResponses( s, jqXHR, responses ) {
var firstDataType, ct, finalDataType, type,
contents = s.contents,
dataTypes = s.dataTypes;
Function data
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
strats.data = function (
parentVal,
childVal,
vm
) {
Function setValues
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Color.prototype.setValues = function (space, vals) {
var values = this.values;
var spaces = this.spaces;
var maxes = this.maxes;
var alpha = 1;
Function handleStartTag
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function handleStartTag (match) {
var tagName = match.tagName;
var unarySlash = match.unarySlash;
if (expectHTML) {
Function updateElement
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
updateElement: function(point, index, reset) {
var me = this;
var meta = me.getMeta();
var custom = point.custom || {};
var dataset = me.getDataset();
Function dateFromConfig
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function dateFromConfig(config) {
var i, date, input = [], currentDate, yearToUse;
if (config._d) {
return;
Function when
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
when: function( subordinate /* , ..., subordinateN */ ) {
var i = 0,
resolveValues = slice.call( arguments ),
length = resolveValues.length,
Function getBackgroundPoint
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function getBackgroundPoint(vm, size, alignment) {
// Background Position
var x = vm.x;
var y = vm.y;
Function transition
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
transition: function(ease) {
var me = this;
if (!me._view) {
me._view = helpers.clone(me._model);
Function startDigest
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
startDigest: function() {
var me = this;
var startTime = Date.now();
var framesToDrop = 0;
Function buildScales
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
buildScales: function() {
var me = this;
var options = me.options;
var scales = me.scales = {};
var items = [];
Function show
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Collapse.prototype.show = function () {
if (this.transitioning || this.$element.hasClass('in')) return
var activesData
var actives = this.$parent && this.$parent.children('.panel').children('.in, .collapsing')