Skip to content

构架失败 #52

@xufulong

Description

@xufulong

使用grunt构建时出现错误,以下截取部分失败时才错误。
Linting src/view/view.fx.slider.js...ERROR
[L104:C32] Unexpected space after '('.
setTimeout( function() {
[L103:C28] Unexpected space after '('.
setTimeout( function() {
[L62:C24] Unexpected space after '('.
setTimeout( function() {

Linting src/view/view.js...ERROR
[L22:C33] Unexpected space after '('.
this.cid = Chassis.uniqueId( 'view' );
[L22:C40] Unexpected space after 'view'.
this.cid = Chassis.uniqueId( 'view' );
[L184:C35] Missing space after '('.
Chassis.$(window[ selector ])
[L184:C53] Missing space after ']'.
Chassis.$(window[ selector ])
[L371:C35] Unexpected space after '('.
attrs = Chassis.mixin( {}, this.attributes || {} );
[L412:C29] Unexpected space after '('.
throw new Error( 'view is not an instance of Chassis.View.' );
[L412:C72] Unexpected space after 'view is not an instance of Chassis.View.'.
throw new Error( 'view is not an instance of Chassis.View.' );
[L415:C2] Unexpected space after '}'.
} );
[L495:C2] Unexpected space after '}'.
} );

Linting src/view/view.loading.js...ERROR
[L20:C23] Unexpected space after '('.
Chassis.$( 'body' ).append( $el );
[L20:C30] Unexpected space after 'body'.
Chassis.$( 'body' ).append( $el );
[L152:C14] Unexpected space after '}'.
} );

Warning: Task "jsbint:all" failed. Use --force to continue.

Aborted due to warnings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions