RubyLouvre/avalon

View on GitHub
src/dom/css/compact.js

Summary

Maintainability
A
1 hr
Test Coverage

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

avalon.fn.offset = function () { //取得距离页面左右角的坐标
    var node = this[0],
        box = {
            left: 0,
            top: 0
Severity: Minor
Found in src/dom/css/compact.js - About 1 hr to fix

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

    import { avalon, oneObject,msie } from '../../seed/core'
    Severity: Minor
    Found in src/dom/css/compact.js by eslint

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

    There are no issues that match your filters.

    Category
    Status