File tree 2 files changed +2
-2
lines changed 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ var rootjQuery,
23
23
24
24
// Handle HTML strings
25
25
if ( typeof selector === "string" ) {
26
- if ( selector . charAt ( 0 ) === "<" && selector . charAt ( selector . length - 1 ) === ">" && selector . length >= 3 ) {
26
+ if ( selector [ 0 ] === "<" && selector [ selector . length - 1 ] === ">" && selector . length >= 3 ) {
27
27
// Assume that strings that start and end with <> are HTML and skip the regex check
28
28
match = [ null , selector , null ] ;
29
29
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ function vendorPropName( style, name ) {
46
46
}
47
47
48
48
// check for vendor prefixed names
49
- var capName = name . charAt ( 0 ) . toUpperCase ( ) + name . slice ( 1 ) ,
49
+ var capName = name [ 0 ] . toUpperCase ( ) + name . slice ( 1 ) ,
50
50
origName = name ,
51
51
i = cssPrefixes . length ;
52
52
You can’t perform that action at this time.
0 commit comments