Merge branch 'v8/dev' into v8/contrib
# Conflicts: # src/Umbraco.Web.UI.Client/package.json # src/Umbraco.Web.UI.Client/src/common/directives/components/content/umbvariantcontenteditors.directive.js # src/Umbraco.Web.UI.Client/src/common/directives/validation/valformmanager.directive.js # src/Umbraco.Web.UI.Client/src/common/services/formhelper.service.js # src/Umbraco.Web.UI.Client/src/views/components/overlays/umb-overlay.html # src/Umbraco.Web.UI.Client/src/views/content/overlays/publishdescendants.controller.js # src/Umbraco.Web.UI.Client/src/views/content/overlays/publishdescendants.html # src/Umbraco.Web.UI.Client/src/views/dictionary/edit.html # src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
This commit is contained in:
@@ -69,6 +69,18 @@
|
||||
};
|
||||
}
|
||||
|
||||
if (!String.prototype.trimStartSpecial) {
|
||||
/** trimSpecial extension method for string */
|
||||
// Removes all non printable chars from beginning of a string
|
||||
String.prototype.trimStartSpecial = function () {
|
||||
var index = 0;
|
||||
while (this.charCodeAt(index) <= 46) {
|
||||
index++;
|
||||
}
|
||||
return this.substr(index);
|
||||
};
|
||||
}
|
||||
|
||||
if (!String.prototype.startsWith) {
|
||||
/** startsWith extension method for string */
|
||||
String.prototype.startsWith = function (str) {
|
||||
|
||||
Reference in New Issue
Block a user