File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change 4
4
* https://github.com/marcj/css-element-queries/blob/master/LICENSE.
5
5
*/
6
6
;
7
- ( function ( ) {
7
+ ( function ( root , factory ) {
8
+ if ( typeof define === 'function' && define . amd ) {
9
+ define ( [ 'ResizeSensor' ] , factory ) ;
10
+ } else if ( typeof module === 'object' && module . exports ) {
11
+ module . exports = factory ( require ( 'ResizeSensor' ) ) ;
12
+ } else {
13
+ root . ElementQueries = factory ( ResizeSensor ) ;
14
+ }
15
+ } ( this , function ( ResizeSensor ) {
16
+
8
17
/**
9
18
*
10
19
* @type {Function }
11
20
* @constructor
12
21
*/
13
- var ElementQueries = this . ElementQueries = function ( ) {
22
+ var ElementQueries = function ( ) {
14
23
15
24
this . withTracking = false ;
16
25
var elements = [ ] ;
357
366
}
358
367
domLoaded ( ElementQueries . init ) ;
359
368
360
- } ) ( ) ;
369
+ return ElementQueries ;
370
+
371
+ } ) ) ;
You can’t perform that action at this time.
0 commit comments