Closed d-simon closed 8 years ago
Slightly delayed: Awesome, thanks!!
Some cosmetic things commented in the code.
Something I'm wondering right now is whether we should stop exposing currentBreakpoint
at this point since it doesn't really make too much sense any more. Thoughts?
Ping @stigmata86
About the current breakpoint: It could still come in handy, when one simply wants to compare the current breakpoint. Although perhaps there is a better way to do this? For example:
estatico.mq.query({ current: 'large' });
We will have to check in some specific use cases, but this is already great for now. Thanks a lot!
Allows for js-based mediaqueries as described in #4 :
I haven't added any tests or jsdoc. Thoughts?