Showing 544 of 841 total issues
Function setDocument
has 216 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
setDocument = Sizzle.setDocument = function( node ) {
var hasCompare,
doc = node ? node.ownerDocument || node : preferredDoc,
parent = doc.defaultView;
Function update
has 215 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
update: function(chartInstance, width, height) {
if (!chartInstance) {
return;
}
Function 24
has 208 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{}],24:[function(require,module,exports){
'use strict';
module.exports = function(Chart) {
Function exports
has 206 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(Chart) {
var helpers = Chart.helpers;
var arrayEvents = ['push', 'pop', 'shift', 'splice', 'unshift'];
Function 46
has 203 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{}],46:[function(require,module,exports){
'use strict';
module.exports = function(Chart) {
Function exports
has 201 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(Chart) {
var helpers = Chart.helpers;
var defaultConfig = {
Function 2
has 191 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{}],2:[function(require,module,exports){
/* MIT license */
var colorNames = require(6);
module.exports = {
Function 41
has 187 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{}],41:[function(require,module,exports){
'use strict';
// Chart.Platform implementation for targeting a web browser
module.exports = function(Chart) {
Function exports
has 185 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(Chart) {
var helpers = Chart.helpers;
// DOM event types -> Chart.js event types.
// Note: only events with different types are mapped.
Function Plugin
has 180 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Plugin (el, options) {
// To avoid scope issues, use 'base' instead of 'this'
// to reference this class from internal events and functions.
var base = this;
Function parseHTML
has 178 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function parseHTML (html, options) {
var stack = [];
var expectHTML = options.expectHTML;
var isUnaryTag$$1 = options.isUnaryTag || no;
var index = 0;
Function 19
has 169 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{}],19:[function(require,module,exports){
'use strict';
module.exports = function(Chart) {
Function exports
has 167 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(Chart) {
var helpers = Chart.helpers;
Chart.defaults.polarArea = {
Function parse
has 164 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function parse (
template,
options
) {
warn$1 = options.warn || baseWarn;
Function 40
has 162 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{}],40:[function(require,module,exports){
'use strict';
module.exports = function(Chart) {
Function 27
has 161 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"3":3}],27:[function(require,module,exports){
'use strict';
module.exports = function(Chart) {
var helpers = Chart.helpers;
Function exports
has 160 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(Chart) {
var globalOpts = Chart.defaults.global;
globalOpts.elements.rectangle = {
Function exports
has 159 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(Chart) {
var helpers = Chart.helpers;
/**
* Helper function to get relative position for an event
Function 35
has 159 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{}],35:[function(require,module,exports){
'use strict';
module.exports = function(Chart) {
Function exports
has 157 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(Chart) {
var helpers = Chart.helpers;
Chart.defaults.global.title = {