fossasia/loklak_webclient

View on GitHub
iframely/static/js/iframely-utils.js

Summary

Maintainability
A
2 hrs
Test Coverage

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

    var windowMessaging = function(){

        return {
            postMessage : function(message, target_url, target) {

Severity: Minor
Found in iframely/static/js/iframely-utils.js - About 1 hr to fix

    Consider simplifying this complex logical expression.
    Open

            if (h && (force || h != height || !height || !w || !width || w > width)) {
                height = h;
                width = w;
                windowMessaging.postMessage({
                    windowId: windowId,
    Severity: Major
    Found in iframely/static/js/iframely-utils.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status