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

Feat custom source sets #17

Merged
merged 1 commit into from
May 15, 2020
Merged

Feat custom source sets #17

merged 1 commit into from
May 15, 2020

Conversation

ericdeansanchez
Copy link
Owner

The purpose of this PR is to implement source set attribute
functionality.

Currently deciding how "symmetric" Url and SourceSet should
be.

A SourceSet has a Config. Both SourceSet and Config employ
the builder pattern to separate configuration from behavior.

The SourceSet uses its builder interface to pass configuration
data to the underlying Config. Once srcset_attr is called,
the SourceSet structure uses this Config to build itself.

The purpose of this PR is to implement source set attribute
functionality.

Currently deciding how "symmetric" `Url` and `SourceSet` should
be.

A `SourceSet` has a `Config`. Both `SourceSet` and `Config` employ
the builder pattern to separate configuration from behavior.

The `SourceSet` uses its builder interface to pass configuration
data to the underlying `Config`. Once `srcset_attr` is called,
the `SourceSet` structure uses this `Config` to build itself.
@ericdeansanchez ericdeansanchez merged commit 9145f7c into master May 15, 2020
@ericdeansanchez ericdeansanchez deleted the srcset branch May 15, 2020 00:48
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.

None yet

1 participant