betajs/betajs-richeditor

View on GitHub

Showing 3 of 5 total issues

File dynamic.js has 268 lines of code (exceeds 250 allowed). Consider refactoring.
Open

Scoped.define("module:Richeditor", [
    "dynamics:Dynamic",
    "base:Strings",
    "browser:Dom",
    "browser:Events",
Severity: Minor
Found in src/dynamic.js - About 2 hrs to fix

    Function exports has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    module.exports = function(grunt) {
    
        var pkg = grunt.file.readJSON('package.json');
        var gruntHelper = require('betajs-compile');
        var dist = 'betajs-richeditor';
    Severity: Minor
    Found in Gruntfile.js - About 1 hr to fix

      Function constructor has 26 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

                  constructor: function (options) {
                      inherited.constructor.call(this, options);
                      this._domEvents = this.auto_destroy(new DomEvents());
                      this.set("content", this.initialContent || "");
                      this.__wasKeyInput = false;
      Severity: Minor
      Found in src/dynamic.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language