Noosfero/noosfero

View on GitHub
plugins/social_share_privacy/public/socialshareprivacy/javascripts/modules/facebook.js

Summary

Maintainability
A
1 hr
Test Coverage

Function button has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        'button'            : function (options, uri, settings) {
            // ensure a locale that is supported by facebook
            // otherwise facebook renders nothing
            var match = /^([a-z]{2})_([A-Z]{2})$/.exec(options.language);
            var locale = "en_US";

    There are no issues that match your filters.

    Category
    Status