File tree 3 files changed +55
-49
lines changed
3 files changed +55
-49
lines changed Original file line number Diff line number Diff line change 9
9
],
10
10
"src-repo" : " http://github.com/DataTables/DataTablesSrc" ,
11
11
"last-tag" : " 1.11.2" ,
12
- "last-sync" : " af651f6ab12052c1cb5d67cb73ad3284e2c296cb "
12
+ "last-sync" : " 1eddf57e55486c9e69581f14f77a2c3cd58b43f4 "
13
13
}
Original file line number Diff line number Diff line change 1614
1614
return out ;
1615
1615
}
1616
1616
1617
+ var _includes = function ( search , start ) {
1618
+ if ( start === undefined ) {
1619
+ start = 0 ;
1620
+ }
1621
+
1622
+ return this . indexOf ( search , start ) !== - 1 ;
1623
+ } ;
1624
+
1617
1625
// Array.isArray polyfill.
1618
1626
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray
1619
1627
if ( ! Array . isArray ) {
1623
1631
}
1624
1632
1625
1633
if ( ! Array . prototype . includes ) {
1626
- Array . prototype . includes = function ( search , start ) {
1627
- if ( start === undefined ) {
1628
- start = 0 ;
1629
- }
1630
-
1631
- return this . indexOf ( search , start ) !== - 1 ;
1632
- } ;
1634
+ Array . prototype . includes = _includes ;
1633
1635
}
1634
1636
1635
1637
// .trim() polyfill
1640
1642
} ;
1641
1643
}
1642
1644
1645
+ if ( ! String . prototype . includes ) {
1646
+ String . prototype . includes = _includes ;
1647
+ }
1648
+
1643
1649
/**
1644
1650
* DataTables utility methods
1645
1651
*
You can’t perform that action at this time.
0 commit comments