From 02b618d8fe92a18e3666bb7da648fab6222ef794 Mon Sep 17 00:00:00 2001 From: Ryan Thaut Date: Sun, 24 Jun 2018 16:08:43 -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 a9aa48a16..8584013ae 100644 --- a/src/services/decorators.js +++ b/src/services/decorators.js @@ -332,7 +332,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,