formtastic-jquery_inputmask 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.bowerrc +3 -0
- data/bower.json +19 -0
- data/lib/formtastic/jquery_inputmask/engine.rb +1 -1
- data/lib/formtastic/jquery_inputmask/version.rb +1 -1
- data/vendor/inputmask/.bower.json +59 -0
- data/vendor/inputmask/bower.json +40 -0
- data/vendor/inputmask/dist/inputmask/bindings/inputmask.binding.js +21 -0
- data/vendor/inputmask/dist/inputmask/dependencyLibs/inputmask.dependencyLib.jqlite.js +62 -0
- data/vendor/inputmask/dist/inputmask/dependencyLibs/inputmask.dependencyLib.jquery.js +13 -0
- data/vendor/inputmask/dist/inputmask/dependencyLibs/inputmask.dependencyLib.js +133 -0
- data/vendor/inputmask/dist/inputmask/global/document.js +11 -0
- data/vendor/inputmask/dist/inputmask/global/window.js +11 -0
- data/vendor/inputmask/dist/inputmask/inputmask.date.extensions.js +490 -0
- data/vendor/inputmask/dist/inputmask/inputmask.extensions.js +97 -0
- data/vendor/inputmask/dist/inputmask/inputmask.js +1643 -0
- data/vendor/inputmask/dist/inputmask/inputmask.numeric.extensions.js +347 -0
- data/vendor/inputmask/dist/inputmask/inputmask.phone.extensions.js +61 -0
- data/vendor/inputmask/dist/inputmask/inputmask.regex.extensions.js +115 -0
- data/vendor/inputmask/dist/inputmask/jquery.inputmask.js +62 -0
- data/vendor/inputmask/dist/inputmask/phone-codes/phone-be.js +244 -0
- data/vendor/inputmask/dist/inputmask/phone-codes/phone-nl.js +924 -0
- data/vendor/inputmask/dist/inputmask/phone-codes/phone-ru.js +19240 -0
- data/vendor/inputmask/dist/inputmask/phone-codes/phone-uk.js +1009 -0
- data/vendor/inputmask/dist/inputmask/phone-codes/phone.js +2111 -0
- data/vendor/inputmask/dist/jquery.inputmask.bundle.js +3085 -0
- data/vendor/inputmask/dist/min/inputmask/inputmask.date.extensions.min.js +9 -0
- data/vendor/inputmask/dist/min/inputmask/inputmask.extensions.min.js +9 -0
- data/vendor/inputmask/dist/min/inputmask/inputmask.min.js +10 -0
- data/vendor/inputmask/dist/min/inputmask/inputmask.numeric.extensions.min.js +9 -0
- data/vendor/inputmask/dist/min/inputmask/inputmask.phone.extensions.min.js +9 -0
- data/vendor/inputmask/dist/min/inputmask/inputmask.regex.extensions.min.js +9 -0
- data/vendor/inputmask/dist/min/inputmask/jquery.inputmask.min.js +9 -0
- data/vendor/inputmask/dist/min/jquery.inputmask.bundle.min.js +11 -0
- data/vendor/jquery/.bower.json +25 -0
- data/vendor/jquery/AUTHORS.txt +301 -0
- data/vendor/jquery/LICENSE.txt +36 -0
- data/vendor/jquery/README.md +67 -0
- data/vendor/jquery/bower.json +14 -0
- data/vendor/jquery/dist/core.js +476 -0
- data/vendor/jquery/dist/jquery.js +10253 -0
- data/vendor/jquery/dist/jquery.min.js +4 -0
- data/vendor/jquery/dist/jquery.min.map +1 -0
- data/vendor/jquery/dist/jquery.slim.js +8160 -0
- data/vendor/jquery/dist/jquery.slim.min.js +4 -0
- data/vendor/jquery/dist/jquery.slim.min.map +1 -0
- data/vendor/jquery/external/sizzle/LICENSE.txt +36 -0
- data/vendor/jquery/external/sizzle/dist/sizzle.js +2272 -0
- data/vendor/jquery/external/sizzle/dist/sizzle.min.js +3 -0
- data/vendor/jquery/external/sizzle/dist/sizzle.min.map +1 -0
- data/vendor/jquery/src/.eslintrc.json +5 -0
- data/vendor/jquery/src/ajax.js +855 -0
- data/vendor/jquery/src/ajax/jsonp.js +102 -0
- data/vendor/jquery/src/ajax/load.js +76 -0
- data/vendor/jquery/src/ajax/parseXML.js +30 -0
- data/vendor/jquery/src/ajax/script.js +77 -0
- data/vendor/jquery/src/ajax/var/location.js +5 -0
- data/vendor/jquery/src/ajax/var/nonce.js +7 -0
- data/vendor/jquery/src/ajax/var/rquery.js +5 -0
- data/vendor/jquery/src/ajax/xhr.js +169 -0
- data/vendor/jquery/src/attributes.js +13 -0
- data/vendor/jquery/src/attributes/attr.js +141 -0
- data/vendor/jquery/src/attributes/classes.js +174 -0
- data/vendor/jquery/src/attributes/prop.js +143 -0
- data/vendor/jquery/src/attributes/support.js +33 -0
- data/vendor/jquery/src/attributes/val.js +190 -0
- data/vendor/jquery/src/callbacks.js +234 -0
- data/vendor/jquery/src/core.js +476 -0
- data/vendor/jquery/src/core/DOMEval.js +16 -0
- data/vendor/jquery/src/core/access.js +70 -0
- data/vendor/jquery/src/core/init.js +128 -0
- data/vendor/jquery/src/core/nodeName.js +13 -0
- data/vendor/jquery/src/core/parseHTML.js +65 -0
- data/vendor/jquery/src/core/ready-no-deferred.js +96 -0
- data/vendor/jquery/src/core/ready.js +86 -0
- data/vendor/jquery/src/core/readyException.js +13 -0
- data/vendor/jquery/src/core/stripAndCollapse.js +14 -0
- data/vendor/jquery/src/core/support.js +20 -0
- data/vendor/jquery/src/core/var/rsingleTag.js +6 -0
- data/vendor/jquery/src/css.js +438 -0
- data/vendor/jquery/src/css/addGetHookIf.js +26 -0
- data/vendor/jquery/src/css/adjustCSS.js +71 -0
- data/vendor/jquery/src/css/curCSS.js +65 -0
- data/vendor/jquery/src/css/hiddenVisibleSelectors.js +15 -0
- data/vendor/jquery/src/css/showHide.js +105 -0
- data/vendor/jquery/src/css/support.js +89 -0
- data/vendor/jquery/src/css/var/cssExpand.js +5 -0
- data/vendor/jquery/src/css/var/getStyles.js +17 -0
- data/vendor/jquery/src/css/var/isHiddenWithinTree.js +34 -0
- data/vendor/jquery/src/css/var/rmargin.js +5 -0
- data/vendor/jquery/src/css/var/rnumnonpx.js +7 -0
- data/vendor/jquery/src/css/var/swap.js +26 -0
- data/vendor/jquery/src/data.js +179 -0
- data/vendor/jquery/src/data/Data.js +161 -0
- data/vendor/jquery/src/data/var/acceptData.js +19 -0
- data/vendor/jquery/src/data/var/dataPriv.js +7 -0
- data/vendor/jquery/src/data/var/dataUser.js +7 -0
- data/vendor/jquery/src/deferred.js +391 -0
- data/vendor/jquery/src/deferred/exceptionHook.js +21 -0
- data/vendor/jquery/src/deprecated.js +40 -0
- data/vendor/jquery/src/dimensions.js +56 -0
- data/vendor/jquery/src/effects.js +699 -0
- data/vendor/jquery/src/effects/Tween.js +123 -0
- data/vendor/jquery/src/effects/animatedSelector.js +15 -0
- data/vendor/jquery/src/event.js +746 -0
- data/vendor/jquery/src/event/ajax.js +22 -0
- data/vendor/jquery/src/event/alias.js +29 -0
- data/vendor/jquery/src/event/focusin.js +55 -0
- data/vendor/jquery/src/event/support.js +11 -0
- data/vendor/jquery/src/event/trigger.js +185 -0
- data/vendor/jquery/src/exports/amd.js +26 -0
- data/vendor/jquery/src/exports/global.js +34 -0
- data/vendor/jquery/src/jquery.js +41 -0
- data/vendor/jquery/src/manipulation.js +488 -0
- data/vendor/jquery/src/manipulation/_evalUrl.js +23 -0
- data/vendor/jquery/src/manipulation/buildFragment.js +104 -0
- data/vendor/jquery/src/manipulation/getAll.js +32 -0
- data/vendor/jquery/src/manipulation/setGlobalEval.js +22 -0
- data/vendor/jquery/src/manipulation/support.js +35 -0
- data/vendor/jquery/src/manipulation/var/rcheckableType.js +5 -0
- data/vendor/jquery/src/manipulation/var/rscriptType.js +5 -0
- data/vendor/jquery/src/manipulation/var/rtagName.js +5 -0
- data/vendor/jquery/src/manipulation/wrapMap.js +29 -0
- data/vendor/jquery/src/offset.js +229 -0
- data/vendor/jquery/src/queue.js +145 -0
- data/vendor/jquery/src/queue/delay.js +24 -0
- data/vendor/jquery/src/selector-native.js +237 -0
- data/vendor/jquery/src/selector-sizzle.js +19 -0
- data/vendor/jquery/src/selector.js +3 -0
- data/vendor/jquery/src/serialize.js +130 -0
- data/vendor/jquery/src/traversing.js +191 -0
- data/vendor/jquery/src/traversing/findFilter.js +106 -0
- data/vendor/jquery/src/traversing/var/dir.js +22 -0
- data/vendor/jquery/src/traversing/var/rneedsContext.js +8 -0
- data/vendor/jquery/src/traversing/var/siblings.js +17 -0
- data/vendor/jquery/src/var/ObjectFunctionString.js +7 -0
- data/vendor/jquery/src/var/arr.js +5 -0
- data/vendor/jquery/src/var/class2type.js +6 -0
- data/vendor/jquery/src/var/concat.js +7 -0
- data/vendor/jquery/src/var/document.js +5 -0
- data/vendor/jquery/src/var/documentElement.js +7 -0
- data/vendor/jquery/src/var/fnToString.js +7 -0
- data/vendor/jquery/src/var/getProto.js +5 -0
- data/vendor/jquery/src/var/hasOwn.js +7 -0
- data/vendor/jquery/src/var/indexOf.js +7 -0
- data/vendor/jquery/src/var/pnum.js +5 -0
- data/vendor/jquery/src/var/push.js +7 -0
- data/vendor/jquery/src/var/rcssNum.js +9 -0
- data/vendor/jquery/src/var/rnothtmlwhite.js +8 -0
- data/vendor/jquery/src/var/slice.js +7 -0
- data/vendor/jquery/src/var/support.js +6 -0
- data/vendor/jquery/src/var/toString.js +7 -0
- data/vendor/jquery/src/wrap.js +77 -0
- metadata +152 -3
- data/.gitmodules +0 -3
@@ -0,0 +1,191 @@
|
|
1
|
+
define( [
|
2
|
+
"./core",
|
3
|
+
"./var/indexOf",
|
4
|
+
"./traversing/var/dir",
|
5
|
+
"./traversing/var/siblings",
|
6
|
+
"./traversing/var/rneedsContext",
|
7
|
+
"./core/nodeName",
|
8
|
+
|
9
|
+
"./core/init",
|
10
|
+
"./traversing/findFilter",
|
11
|
+
"./selector"
|
12
|
+
], function( jQuery, indexOf, dir, siblings, rneedsContext, nodeName ) {
|
13
|
+
|
14
|
+
"use strict";
|
15
|
+
|
16
|
+
var rparentsprev = /^(?:parents|prev(?:Until|All))/,
|
17
|
+
|
18
|
+
// Methods guaranteed to produce a unique set when starting from a unique set
|
19
|
+
guaranteedUnique = {
|
20
|
+
children: true,
|
21
|
+
contents: true,
|
22
|
+
next: true,
|
23
|
+
prev: true
|
24
|
+
};
|
25
|
+
|
26
|
+
jQuery.fn.extend( {
|
27
|
+
has: function( target ) {
|
28
|
+
var targets = jQuery( target, this ),
|
29
|
+
l = targets.length;
|
30
|
+
|
31
|
+
return this.filter( function() {
|
32
|
+
var i = 0;
|
33
|
+
for ( ; i < l; i++ ) {
|
34
|
+
if ( jQuery.contains( this, targets[ i ] ) ) {
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
} );
|
39
|
+
},
|
40
|
+
|
41
|
+
closest: function( selectors, context ) {
|
42
|
+
var cur,
|
43
|
+
i = 0,
|
44
|
+
l = this.length,
|
45
|
+
matched = [],
|
46
|
+
targets = typeof selectors !== "string" && jQuery( selectors );
|
47
|
+
|
48
|
+
// Positional selectors never match, since there's no _selection_ context
|
49
|
+
if ( !rneedsContext.test( selectors ) ) {
|
50
|
+
for ( ; i < l; i++ ) {
|
51
|
+
for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) {
|
52
|
+
|
53
|
+
// Always skip document fragments
|
54
|
+
if ( cur.nodeType < 11 && ( targets ?
|
55
|
+
targets.index( cur ) > -1 :
|
56
|
+
|
57
|
+
// Don't pass non-elements to Sizzle
|
58
|
+
cur.nodeType === 1 &&
|
59
|
+
jQuery.find.matchesSelector( cur, selectors ) ) ) {
|
60
|
+
|
61
|
+
matched.push( cur );
|
62
|
+
break;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
|
68
|
+
return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched );
|
69
|
+
},
|
70
|
+
|
71
|
+
// Determine the position of an element within the set
|
72
|
+
index: function( elem ) {
|
73
|
+
|
74
|
+
// No argument, return index in parent
|
75
|
+
if ( !elem ) {
|
76
|
+
return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1;
|
77
|
+
}
|
78
|
+
|
79
|
+
// Index in selector
|
80
|
+
if ( typeof elem === "string" ) {
|
81
|
+
return indexOf.call( jQuery( elem ), this[ 0 ] );
|
82
|
+
}
|
83
|
+
|
84
|
+
// Locate the position of the desired element
|
85
|
+
return indexOf.call( this,
|
86
|
+
|
87
|
+
// If it receives a jQuery object, the first element is used
|
88
|
+
elem.jquery ? elem[ 0 ] : elem
|
89
|
+
);
|
90
|
+
},
|
91
|
+
|
92
|
+
add: function( selector, context ) {
|
93
|
+
return this.pushStack(
|
94
|
+
jQuery.uniqueSort(
|
95
|
+
jQuery.merge( this.get(), jQuery( selector, context ) )
|
96
|
+
)
|
97
|
+
);
|
98
|
+
},
|
99
|
+
|
100
|
+
addBack: function( selector ) {
|
101
|
+
return this.add( selector == null ?
|
102
|
+
this.prevObject : this.prevObject.filter( selector )
|
103
|
+
);
|
104
|
+
}
|
105
|
+
} );
|
106
|
+
|
107
|
+
function sibling( cur, dir ) {
|
108
|
+
while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {}
|
109
|
+
return cur;
|
110
|
+
}
|
111
|
+
|
112
|
+
jQuery.each( {
|
113
|
+
parent: function( elem ) {
|
114
|
+
var parent = elem.parentNode;
|
115
|
+
return parent && parent.nodeType !== 11 ? parent : null;
|
116
|
+
},
|
117
|
+
parents: function( elem ) {
|
118
|
+
return dir( elem, "parentNode" );
|
119
|
+
},
|
120
|
+
parentsUntil: function( elem, i, until ) {
|
121
|
+
return dir( elem, "parentNode", until );
|
122
|
+
},
|
123
|
+
next: function( elem ) {
|
124
|
+
return sibling( elem, "nextSibling" );
|
125
|
+
},
|
126
|
+
prev: function( elem ) {
|
127
|
+
return sibling( elem, "previousSibling" );
|
128
|
+
},
|
129
|
+
nextAll: function( elem ) {
|
130
|
+
return dir( elem, "nextSibling" );
|
131
|
+
},
|
132
|
+
prevAll: function( elem ) {
|
133
|
+
return dir( elem, "previousSibling" );
|
134
|
+
},
|
135
|
+
nextUntil: function( elem, i, until ) {
|
136
|
+
return dir( elem, "nextSibling", until );
|
137
|
+
},
|
138
|
+
prevUntil: function( elem, i, until ) {
|
139
|
+
return dir( elem, "previousSibling", until );
|
140
|
+
},
|
141
|
+
siblings: function( elem ) {
|
142
|
+
return siblings( ( elem.parentNode || {} ).firstChild, elem );
|
143
|
+
},
|
144
|
+
children: function( elem ) {
|
145
|
+
return siblings( elem.firstChild );
|
146
|
+
},
|
147
|
+
contents: function( elem ) {
|
148
|
+
if ( nodeName( elem, "iframe" ) ) {
|
149
|
+
return elem.contentDocument;
|
150
|
+
}
|
151
|
+
|
152
|
+
// Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only
|
153
|
+
// Treat the template element as a regular one in browsers that
|
154
|
+
// don't support it.
|
155
|
+
if ( nodeName( elem, "template" ) ) {
|
156
|
+
elem = elem.content || elem;
|
157
|
+
}
|
158
|
+
|
159
|
+
return jQuery.merge( [], elem.childNodes );
|
160
|
+
}
|
161
|
+
}, function( name, fn ) {
|
162
|
+
jQuery.fn[ name ] = function( until, selector ) {
|
163
|
+
var matched = jQuery.map( this, fn, until );
|
164
|
+
|
165
|
+
if ( name.slice( -5 ) !== "Until" ) {
|
166
|
+
selector = until;
|
167
|
+
}
|
168
|
+
|
169
|
+
if ( selector && typeof selector === "string" ) {
|
170
|
+
matched = jQuery.filter( selector, matched );
|
171
|
+
}
|
172
|
+
|
173
|
+
if ( this.length > 1 ) {
|
174
|
+
|
175
|
+
// Remove duplicates
|
176
|
+
if ( !guaranteedUnique[ name ] ) {
|
177
|
+
jQuery.uniqueSort( matched );
|
178
|
+
}
|
179
|
+
|
180
|
+
// Reverse order for parents* and prev-derivatives
|
181
|
+
if ( rparentsprev.test( name ) ) {
|
182
|
+
matched.reverse();
|
183
|
+
}
|
184
|
+
}
|
185
|
+
|
186
|
+
return this.pushStack( matched );
|
187
|
+
};
|
188
|
+
} );
|
189
|
+
|
190
|
+
return jQuery;
|
191
|
+
} );
|
@@ -0,0 +1,106 @@
|
|
1
|
+
define( [
|
2
|
+
"../core",
|
3
|
+
"../var/indexOf",
|
4
|
+
"./var/rneedsContext",
|
5
|
+
"../selector"
|
6
|
+
], function( jQuery, indexOf, rneedsContext ) {
|
7
|
+
|
8
|
+
"use strict";
|
9
|
+
|
10
|
+
var risSimple = /^.[^:#\[\.,]*$/;
|
11
|
+
|
12
|
+
// Implement the identical functionality for filter and not
|
13
|
+
function winnow( elements, qualifier, not ) {
|
14
|
+
if ( jQuery.isFunction( qualifier ) ) {
|
15
|
+
return jQuery.grep( elements, function( elem, i ) {
|
16
|
+
return !!qualifier.call( elem, i, elem ) !== not;
|
17
|
+
} );
|
18
|
+
}
|
19
|
+
|
20
|
+
// Single element
|
21
|
+
if ( qualifier.nodeType ) {
|
22
|
+
return jQuery.grep( elements, function( elem ) {
|
23
|
+
return ( elem === qualifier ) !== not;
|
24
|
+
} );
|
25
|
+
}
|
26
|
+
|
27
|
+
// Arraylike of elements (jQuery, arguments, Array)
|
28
|
+
if ( typeof qualifier !== "string" ) {
|
29
|
+
return jQuery.grep( elements, function( elem ) {
|
30
|
+
return ( indexOf.call( qualifier, elem ) > -1 ) !== not;
|
31
|
+
} );
|
32
|
+
}
|
33
|
+
|
34
|
+
// Simple selector that can be filtered directly, removing non-Elements
|
35
|
+
if ( risSimple.test( qualifier ) ) {
|
36
|
+
return jQuery.filter( qualifier, elements, not );
|
37
|
+
}
|
38
|
+
|
39
|
+
// Complex selector, compare the two sets, removing non-Elements
|
40
|
+
qualifier = jQuery.filter( qualifier, elements );
|
41
|
+
return jQuery.grep( elements, function( elem ) {
|
42
|
+
return ( indexOf.call( qualifier, elem ) > -1 ) !== not && elem.nodeType === 1;
|
43
|
+
} );
|
44
|
+
}
|
45
|
+
|
46
|
+
jQuery.filter = function( expr, elems, not ) {
|
47
|
+
var elem = elems[ 0 ];
|
48
|
+
|
49
|
+
if ( not ) {
|
50
|
+
expr = ":not(" + expr + ")";
|
51
|
+
}
|
52
|
+
|
53
|
+
if ( elems.length === 1 && elem.nodeType === 1 ) {
|
54
|
+
return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [];
|
55
|
+
}
|
56
|
+
|
57
|
+
return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) {
|
58
|
+
return elem.nodeType === 1;
|
59
|
+
} ) );
|
60
|
+
};
|
61
|
+
|
62
|
+
jQuery.fn.extend( {
|
63
|
+
find: function( selector ) {
|
64
|
+
var i, ret,
|
65
|
+
len = this.length,
|
66
|
+
self = this;
|
67
|
+
|
68
|
+
if ( typeof selector !== "string" ) {
|
69
|
+
return this.pushStack( jQuery( selector ).filter( function() {
|
70
|
+
for ( i = 0; i < len; i++ ) {
|
71
|
+
if ( jQuery.contains( self[ i ], this ) ) {
|
72
|
+
return true;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
} ) );
|
76
|
+
}
|
77
|
+
|
78
|
+
ret = this.pushStack( [] );
|
79
|
+
|
80
|
+
for ( i = 0; i < len; i++ ) {
|
81
|
+
jQuery.find( selector, self[ i ], ret );
|
82
|
+
}
|
83
|
+
|
84
|
+
return len > 1 ? jQuery.uniqueSort( ret ) : ret;
|
85
|
+
},
|
86
|
+
filter: function( selector ) {
|
87
|
+
return this.pushStack( winnow( this, selector || [], false ) );
|
88
|
+
},
|
89
|
+
not: function( selector ) {
|
90
|
+
return this.pushStack( winnow( this, selector || [], true ) );
|
91
|
+
},
|
92
|
+
is: function( selector ) {
|
93
|
+
return !!winnow(
|
94
|
+
this,
|
95
|
+
|
96
|
+
// If this is a positional/relative selector, check membership in the returned set
|
97
|
+
// so $("p:first").is("p:last") won't return true for a doc with two "p".
|
98
|
+
typeof selector === "string" && rneedsContext.test( selector ) ?
|
99
|
+
jQuery( selector ) :
|
100
|
+
selector || [],
|
101
|
+
false
|
102
|
+
).length;
|
103
|
+
}
|
104
|
+
} );
|
105
|
+
|
106
|
+
} );
|
@@ -0,0 +1,22 @@
|
|
1
|
+
define( [
|
2
|
+
"../../core"
|
3
|
+
], function( jQuery ) {
|
4
|
+
|
5
|
+
"use strict";
|
6
|
+
|
7
|
+
return function( elem, dir, until ) {
|
8
|
+
var matched = [],
|
9
|
+
truncate = until !== undefined;
|
10
|
+
|
11
|
+
while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) {
|
12
|
+
if ( elem.nodeType === 1 ) {
|
13
|
+
if ( truncate && jQuery( elem ).is( until ) ) {
|
14
|
+
break;
|
15
|
+
}
|
16
|
+
matched.push( elem );
|
17
|
+
}
|
18
|
+
}
|
19
|
+
return matched;
|
20
|
+
};
|
21
|
+
|
22
|
+
} );
|