Skip to content

Commit 3a5194b

Browse files
committed
replace angular.uppercase with String.prototype.toUpperCase()
1 parent d95ace9 commit 3a5194b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/decorators.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ angular.module('schemaForm').provider('schemaFormDecorators',
318318

319319
var createManualDirective = function(type, templateUrl, transclude) {
320320
transclude = angular.isDefined(transclude) ? transclude : false;
321-
$compileProvider.directive('sf' + angular.uppercase(type[0]) + type.substr(1), function() {
321+
$compileProvider.directive('sf' + type[0].toUpperCase() + type.substr(1), function() {
322322
return {
323323
restrict: 'EAC',
324324
scope: true,

0 commit comments

Comments
 (0)