Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Kaiser1989 opened this issue Nov 9, 2018 · 0 comments
Open

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

Kaiser1989 opened this issue Nov 9, 2018 · 0 comments

Comments

@Kaiser1989
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant