8000 Invalid Property error in AngularJS ui-route abstract keyword · Issue #165 · samaxes/minify-maven-plugin · GitHub
[go: up one dir, main page]

Skip to content

Invalid Property error in AngularJS ui-route abstract keyword #165

Open

Description

@philipp-kaiser

Minification detects error on abstract keyword in AngularJS UI-Router definition:

test.js:

app.config(function($stateProvider, $urlRouterProvider) {
    ...
    $stateProvider.state("app", {
		url: "/",
		abstract: true,
		views: {
                        ...
		}
	});
});

[ERROR] invalid property id test.js: abstract: true,

Expected behaviour:
abstract should be treated as property in this context and not as class keyword

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      0