alykoshin/inline-install

View on GitHub

Showing 2 of 4 total issues

Function InlineInstall has 154 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  var InlineInstall = function (options) {
    var self = this;
    Emitter(self);

    if (!options || !options.itemId) {
Severity: Major
Found in index.js - About 6 hrs to fix

    Function showPrompt has 62 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        var showPrompt = function (text, okText, cancelText, onClickCb) {
          var w = window;
    
          var i                   = document.createElement('iframe');
          i.style.position        = 'fixed';
    Severity: Major
    Found in index.js - About 2 hrs to fix
      Severity
      Category
      Status
      Source
      Language