File tree 1 file changed +17
-15
lines changed
1 file changed +17
-15
lines changed Original file line number Diff line number Diff line change 19
19
// Browser globals
20
20
factory ( jQuery ) ;
21
21
}
22
- } ) ( function ( $ ) {
22
+ } ) (
23
+ /**
24
+ * @param {jQuery } $
25
+ */
26
+ function ( $ ) {
23
27
'use strict' ;
24
28
25
- var utils = ( function ( ) {
26
- return {
27
- escapeRegExChars : function ( value ) {
28
- return value . replace ( / [ | \\ { } ( ) [ \] ^ $ + * ? . ] / g, '\\$&' ) ;
29
- } ,
30
- createNode : function ( containerClass ) {
31
- var div = document . createElement ( 'div' ) ;
32
- div . className = containerClass ;
33
- div . style . position = 'absolute' ;
34
- div . style . display = 'none' ;
35
- return div ;
36
- } ,
37
- } ;
38
- } ) ( ) ,
29
+ var utils = {
30
+ escapeRegExChars : function ( value ) {
31
+ return value . replace ( / [ | \\ { } ( ) [ \] ^ $ + * ? . ] / g, '\\$&' ) ;
32
+ } ,
33
+ createNode : function ( containerClass ) {
34
+ var div = document . createElement ( 'div' ) ;
35
+ div . className = containerClass ;
36
+ div . style . position = 'absolute' ;
37
+ div . style . display = 'none' ;
38
+ return div ;
39
+ } ,
40
+ } ,
39
41
keys = {
40
42
ESC : 27 ,
41
43
TAB : 9 ,
You can’t perform that action at this time.
0 commit comments