From c633b49c14b30500649601bf66364e9e21308a76 Mon Sep 17 00:00:00 2001 From: Ryan Thaut Date: Sat, 23 Jun 2018 17:50:01 -0600 Subject: [PATCH] replace `angular.uppercase` with `String.prototype.toUpperCase()` --- src/services/schema-form-decorators.provider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/schema-form-decorators.provider.js b/src/services/schema-form-decorators.provider.js index f4b7a9e1e..9ad503759 100644 --- a/src/services/schema-form-decorators.provider.js +++ b/src/services/schema-form-decorators.provider.js @@ -380,7 +380,7 @@ export default function($compileProvider, sfPathProvider) { let createManualDirective = function(type, templateUrl, transclude) { transclude = angular.isDefined(transclude) ? transclude : false; - $compileProvider.directive('sf' + angular.uppercase(type[0]) + type.substr(1), function() { + $compileProvider.directive('sf' + type[0].toUpperCase() + type.substr(1), function() { return { restrict: 'EAC', scope: true,