Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

feat($parse): allow strict equality in angular expressions #1617

Closed
wants to merge 1 commit into from
Closed

feat($parse): allow strict equality in angular expressions #1617

wants to merge 1 commit into from

Conversation

jtymes
Copy link
Contributor

@jtymes jtymes commented Nov 28, 2012

Allows the parser to parse strict equality and inequality in angular expressions.

Closes #908

@IgorMinar
Copy link
Contributor

LGTM. awesome work!

@IgorMinar
Copy link
Contributor

commit message tweaks

  • feature -> feat
  • expressions -> angular expressions

@jtymes
Copy link
Contributor Author

jtymes commented Dec 1, 2012

Commit has been amended - One of these days I'll get it right!

@pkozlowski-opensource
Copy link
Member

@mhevery according to @IgorMinar this one looks good but would like to have your OK for this one.

@@ -70,9 +72,14 @@ function lex(text, csp){
continue;
} else {
var ch2 = ch + peek(),
ch3 = ch + peek() + peek(2),
Copy link
Contributor

Choose a reason for hiding this comment

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

Wouldn't it be better to use ch3 = ch2 + peek(2), saving a call?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, good catch!

Allows the parser to parse strict equality and inequality
in angular expressions.

Closes #908
@ghost ghost assigned mhevery Jan 17, 2013
@mhevery
Copy link
Contributor

mhevery commented Jan 17, 2013

merged

@mhevery mhevery closed this Jan 17, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for strict equal and strict not equal operators in expressions
5 participants