edgardleal/require-vuejs

View on GitHub
src/template_parser.js

Summary

Maintainability
A
1 hr
Test Coverage

Function parseOnBrowser has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    var parseOnBrowser = function(text, css_result) {
        var root;
        if (typeof text === "string") {
            root = document.createElement("div");
            root.insertAdjacentHTML("afterbegin", text);
Severity: Minor
Found in src/template_parser.js - About 1 hr to fix

    Parsing error: Unexpected token scopedAttr
    Open

                let scopedAttr = " data-style" + css_result.id
    Severity: Minor
    Found in src/template_parser.js by eslint

    For more information visit Source: http://eslint.org/docs/rules/

    There are no issues that match your filters.

    Category
    Status