Showing 321 of 538 total issues
File odoo-viewer.js
has 9429 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* Copyright 2017 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
File viewer.js
has 9421 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* Copyright 2017 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Function createSession
has 768 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
lib.createSession = function (url) {
/**
* @class CmisSession
*
Function webL10n
has 724 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
document.webL10n = function (window, document, undefined) {
var gL10nData = {};
var gTextData = '';
var gTextProp = 'textContent';
var gLanguage = '';
Function PDFViewer
has 724 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var PDFViewer = function () {
function PDFViewer(options) {
_classCallCheck(this, PDFViewer);
this.container = options.container;
Function webL10n
has 724 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
document.webL10n = function (window, document, undefined) {
var gL10nData = {};
var gTextData = '';
var gTextProp = 'textContent';
var gLanguage = '';
Function PDFViewer
has 724 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var PDFViewer = function () {
function PDFViewer(options) {
_classCallCheck(this, PDFViewer);
this.container = options.container;
File form_widgets.js
has 1249 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*---------------------------------------------------------
+ * Odoo cmis_web
+ * Author Laurent Mignon 2016 Acsone SA/NV
+ * License in __openerp__.py at root level of the module
+ *---------------------------------------------------------
Function PDFPageView
has 488 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var PDFPageView = function () {
function PDFPageView(options) {
_classCallCheck(this, PDFPageView);
var container = options.container;
Function PDFPageView
has 488 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var PDFPageView = function () {
function PDFPageView(options) {
_classCallCheck(this, PDFPageView);
var container = options.container;
Function 3
has 458 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{}],3:[function(require,module,exports){
/**
* Module dependencies.
*/
File cmis.0.3.1.js
has 794 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
;
(function (root, factory) {
'use strict';
if (typeof define === 'function' && define.amd) {
define(['superagent'], function (superagent) {
Function PDFFindController
has 367 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var PDFFindController = function () {
function PDFFindController(_ref) {
var pdfViewer = _ref.pdfViewer;
_classCallCheck(this, PDFFindController);
Function PDFFindController
has 367 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var PDFFindController = function () {
function PDFFindController(_ref) {
var pdfViewer = _ref.pdfViewer;
_classCallCheck(this, PDFFindController);
Function PDFPresentationMode
has 352 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var PDFPresentationMode = function () {
function PDFPresentationMode(_ref) {
var _this = this;
var container = _ref.container,
Function PDFPresentationMode
has 352 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var PDFPresentationMode = function () {
function PDFPresentationMode(_ref) {
var _this = this;
var container = _ref.container,
Function getPluralRules
has 321 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function getPluralRules(lang) {
var locales2rules = {
'af': 3,
'ak': 4,
'am': 4,
Function getPluralRules
has 321 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function getPluralRules(lang) {
var locales2rules = {
'af': 3,
'ak': 4,
'am': 4,
Function PDFSidebar
has 307 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var PDFSidebar = function () {
function PDFSidebar(options) {
var l10n = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _ui_utils.NullL10n;
_classCallCheck(this, PDFSidebar);
Function PDFSidebar
has 307 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var PDFSidebar = function () {
function PDFSidebar(options) {
var l10n = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _ui_utils.NullL10n;
_classCallCheck(this, PDFSidebar);