Make build.webkit.org/dashboard work with changeset_show_files=location
[WebKit-https.git] / Tools / BuildSlaveSupport / build.webkit.org-config / public_html / dashboard / Scripts / Utilities.js
index 39322a2..32113b5 100644 (file)
@@ -170,3 +170,8 @@ String.prototype.contains = function(substring)
 {
     return this.indexOf(substring) >= 0;
 };
+
+String.prototype.startsWith = function(substring)
+{
+    return this.lastIndexOf(substring, 0) === 0;
+}