From 3a5194b93733cb84dc5c499ed2ab5648eccd9dc8 Mon Sep 17 00:00:00 2001 From: Ryan Thaut Date: Sat, 23 Jun 2018 18:09:07 -0600 Subject: [PATCH] replace `angular.uppercase` with `String.prototype.toUpperCase()` --- src/services/decorators.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/decorators.js b/src/services/decorators.js index 1aa0987bd..47a24f147 100644 --- a/src/services/decorators.js +++ b/src/services/decorators.js @@ -318,7 +318,7 @@ angular.module('schemaForm').provider('schemaFormDecorators', var 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,