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

camel case angular (kebab-case removal) #5753

Closed
wants to merge 3 commits into from

Conversation

vicb
Copy link
Contributor

@vicb vicb commented Dec 9, 2015

No description provided.

@vicb vicb added feature Issue that requests a new feature state: WIP action: review The PR is still awaiting reviews from at least one requested reviewer labels Dec 9, 2015
@vicb
Copy link
Contributor Author

vicb commented Dec 9, 2015

mention "kebab-case removal" in the commit message

@IgorMinar IgorMinar changed the title [WIP] camel case angular [WIP] camel case angular templates (kebab-case removal) Dec 9, 2015
@@ -0,0 +1,162 @@
Angular2 is now fully case sensitive.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lowercase filename

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Migration from which version to which version, maybe in filename and in the file itself?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove fully

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mention changing styles as well

@tbosch tbosch added pr_state: LGTM action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Dec 9, 2015
@vicb vicb removed the state: WIP label Dec 9, 2015
@vicb vicb changed the title [WIP] camel case angular templates (kebab-case removal) camel case angular (kebab-case removal) Dec 9, 2015
BREAKING CHANGE:

Angular is now fully camel case.

Before:

    <p *ng-if="cond">
    <my-cmp [my-prop]="exp">
    <my-cmp (my-event)="action()">
    <my-cmp [(my-prop)]="prop">
    <input #my-input>
    <template ng-for #my-item [ng-for-of]=items #my-index="index">

After

    <p *ngIf="cond">
    <my-cmp [myProp]="exp">
    <my-cmp (myEvent)="action()">
    <my-cmp [(myProp)]="prop">
    <input #myInput>`,
    <template ngFor="#my-item" [ngForOf]=items #myIndex="index">

The full details are found in angular2/docs/migration/kebab-case.md
@vicb
Copy link
Contributor Author

vicb commented Dec 10, 2015

closing this PR as Travis does not pick the updates to the branch - will re-open a fresh one

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews cla: yes feature Issue that requests a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants