UNPKG
burnhub
Version:
latest (0.1.8)
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.4
0.0.3
0.0.2
0.0.1
burndown chart for github issues
github.com/stoeffel/burnhub
stoeffel/burnhub
burnhub
/
lib
/
StringExtras.js
7 lines
(6 loc)
•
188 B
JavaScript
View Raw
1
2
3
4
5
6
7
if
(
typeof
String
.
prototype
.
startsWith
!=
'function'
) {
// see below for better implementation!
String
.
prototype
.
startsWith
=
function
(
str
){
return
this
.
indexOf
(str) ==
0
; }; }