Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.

Fix issue where toolbox origin regex is stripped during json stringify #228

Merged

Conversation

mikestead
Copy link
Contributor

@mikestead mikestead commented Dec 21, 2016

Fixes #144

JSON.stringify stringifys RegExp as an empty object literal. This fix post process the toolbox origin regex if one exists so we have it when code generating.
@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
  • If you signed the CLA as a corporation, please let us know the company's name.

@mikestead
Copy link
Contributor Author

I signed it

@googlebot
Copy link

CLAs look good, thanks!

@jeffposnick
Copy link
Contributor

Thank you, @mikestead!

@jeffposnick jeffposnick merged commit 3b816c0 into GoogleChromeLabs:master Dec 22, 2016
@mikestead mikestead deleted the fix/toolbox-origin-regex branch December 22, 2016 21:44
jeffposnick pushed a commit that referenced this pull request Mar 22, 2017
* Fix issue where toolbox successResponses is stripped

Fixed a bug wth successResponses similar to #228

* fixed lint error

* fixed incorrect if block
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.

None yet

3 participants