File tree Expand file tree Collapse file tree 1 file changed +27
-2
lines changed Expand file tree Collapse file tree 1 file changed +27
-2
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,31 @@ Copyrights licensed under the New BSD License.
4
4
See the accompanying LICENSE file for terms.
5
5
*/
6
6
7
+ ( function ( root , factory ) {
8
+ 'use strict' ;
9
+
10
+ // UMD
11
+ /* istanbul ignore next */
12
+ if ( typeof define === 'function' && define . amd ) {
13
+ define ( factory ) ;
14
+ } else if ( typeof exports === 'object' ) {
15
+ module . exports = factory ( ) ;
16
+ } else if ( typeof YUI !== 'undefined' && YUI . add ) {
17
+ YUI . add ( 'css-mediaquery' , factory , '0.1.2' , { es : true } ) ;
18
+ } else {
19
+ root . mediaQuery = factory ( ) ;
20
+ }
21
+
22
+ } ) ( typeof global !== 'undefined' ? global : this , function ( ) {
23
+
24
+ // -----------------------------------------------------------------------------
25
+
7
26
'use strict' ;
8
27
9
- exports . match = matchQuery ;
10
- exports . parse = parseQuery ;
28
+ var exports = {
29
+ match : matchQuery ,
30
+ parse : parseQuery
31
+ } ;
11
32
12
33
// -----------------------------------------------------------------------------
13
34
@@ -178,3 +199,7 @@ function toPx(length) {
178
199
default : return value ;
179
200
}
180
201
}
202
+
203
+ return exports ;
204
+
205
+ } ) ;
You can’t perform that action at this time.
0 commit comments