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

Issue #130: Properties with dashes in their names #132

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Mad-Chemist
Copy link

Everything appears to work as it did previously, but this modification now handles the use case where the declarations variable could have a dash in it (EX: "value:background-color"). Additionally the declarations variable is passed into the function, to ensure it's defined.

This pull request includes the type conversion that happened automatically by creating a function using the function constructor.

Everything appears to work as it did previously, but this modification now handles the use case where the declarations variable could have a dash in it (EX: "value:background-color"). Additionally the declarations variable is passed into the function, to ensure it's defined.

This pull request includes the type conversion that happened automatically by creating a function using the function constructor.
@Mad-Chemist
Copy link
Author

Ah another case I don't think I have covered: Having an object passed in splits it irregularly. Playing around with trying to keep the type conversion behind the scenes without an error being thrown.

Stringified objects with multiple properties were being split prematurely.
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

Successfully merging this pull request may close these issues.

1 participant