Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch hasattr with our version check (#1152)
If you mix hasattr with version checks you get the wrong behavior on old dev builds, because in the case of fragments when it was supported `ctx.fragments.swift` always existed, you just couldn't access it without declaring the dependency, so on old commit releases they are treated as not having this feature, even when the fragment API is still there.
- Loading branch information