sympmarc/SPServices

View on GitHub
src/utils/SPListNameFromUrl.js

Summary

Maintainability
A
1 hr
Test Coverage

Function SPListNameFromUrl has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    $.fn.SPServices.SPListNameFromUrl = function (options) {

        var opt = $.extend({}, {
            listName: "" // [Optional] Pass in the name or GUID of a list if you are not in its context. e.g., on a Web Part pages in the Pages library
        }, options);
Severity: Minor
Found in src/utils/SPListNameFromUrl.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status