Closed jvelo closed 9 years ago
@nesk I've added a PoC on branch ress-detection, feel free to comment.
Maybe it should be implemented as a plugin for Timber ?
Note: that would make composer not optional any longer
Seems ok, however I don't know what you're talking about with “a plugin for Timber”?
I mean a WP plugin with an (implicit) dependency on Timber
Ah! That would avoid the Composer dependency, well, I think we will need Composer as a strong dependency in the future, I prefer to avoid creating a new plugin with a new repo…
In your branch, modify the README to remove Composer from the optional dependencies.
I propose we add standard Twig variables for doing RESS easily (http://www.lukew.com/ff/entry.asp?1392) ; using mobiledetect as the server-side detection lib.