RubyLouvre/avalon

View on GitHub
src/directives/on.js

Summary

Maintainability
A
1 hr
Test Coverage

Function init has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    init: function() {
        var vdom = this.node
        var underline = this.name.replace('ms-on-', 'e').replace('-', '_')
        var uuid = underline + '_' + this.expr.
        replace(/\s/g, '').
Severity: Minor
Found in src/directives/on.js - About 1 hr to fix

    Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
    Open

    import { avalon, inBrowser } from '../seed/core'
    Severity: Minor
    Found in src/directives/on.js by eslint

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

    There are no issues that match your filters.

    Category
    Status