phodal/congee

View on GitHub
scripts/app.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function init has 60 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  var init = function () {
    /**
     * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
     * For licensing, see LICENSE.md or http://ckeditor.com/license
     */
Severity: Major
Found in scripts/app.js - About 2 hrs to fix

    Function editorConfig has 36 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        CKEDITOR.editorConfig = function (config) {
          config.allowedContent = true;
          config.language = 'zh-cn';
          //config.skin = 'minimalist';
          config.pasteFilter = null;
    Severity: Minor
    Found in scripts/app.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status