Skip to content

Conversation

zherczeg
Copy link
Member

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]

@galpeter galpeter added the ecma builtins Related to ECMA built-in routines label Jul 27, 2015
@galpeter galpeter added this to the ECMA builtins milestone Jul 27, 2015
@ILyoan ILyoan mentioned this pull request Jul 27, 2015
25 tasks
@egavrin egavrin assigned galpeter and ruben-ayrapetyan and unassigned galpeter Jul 28, 2015
@zherczeg zherczeg force-pushed the string-prototype-replace-dev branch from 5aa7e40 to 4d4c4f8 Compare July 28, 2015 13:50
Copy link
Contributor

Choose a reason for hiding this comment

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

The variable name is very similar to argument's name appended_string_p. Maybe, ret_string_p would be better.

@ruben-ayrapetyan
Copy link
Contributor

Could you, please, add note to ecma_builtin_string_prototype_object_replace comment that would briefly describe scheme of replacement (sequence of actions) with references to helper functions?

@zherczeg zherczeg force-pushed the string-prototype-replace-dev branch 2 times, most recently from d5442ba to f8a55f7 Compare July 29, 2015 09:54
@zherczeg
Copy link
Member Author

I think I did the requested changes.

Copy link
Contributor

Choose a reason for hiding this comment

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

The condition is always true.

@ruben-ayrapetyan
Copy link
Contributor

@zherczeg, thank you for the update!

After updating #474 (comment), #474 (comment), the changes would look good to me.

@zherczeg zherczeg force-pushed the string-prototype-replace-dev branch from f8a55f7 to b82664b Compare July 29, 2015 11:35
@zherczeg
Copy link
Member Author

Thank you for the review. I added two new tests.

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
@zherczeg zherczeg force-pushed the string-prototype-replace-dev branch from b82664b to f1c178c Compare July 29, 2015 11:50
@galpeter
Copy link
Contributor

lgtm

@zherczeg zherczeg assigned egavrin and unassigned ruben-ayrapetyan Jul 29, 2015
@ruben-ayrapetyan
Copy link
Contributor

Looks good to me

@egavrin
Copy link
Contributor

egavrin commented Jul 30, 2015

make push

@egavrin egavrin assigned zherczeg and unassigned egavrin Jul 30, 2015
@zherczeg
Copy link
Member Author

Landed 048e209

@zherczeg zherczeg closed this Jul 30, 2015
@zherczeg zherczeg deleted the string-prototype-replace-dev branch July 30, 2015 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ecma builtins Related to ECMA built-in routines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants