Skip to content

Commit 02b618d

Browse files
committed
replace angular.uppercase with String.prototype.toUpperCase()
1 parent adef004 commit 02b618d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/decorators.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ angular.module('schemaForm').provider('schemaFormDecorators',
332332

333333
var createManualDirective = function(type, templateUrl, transclude) {
334334
transclude = angular.isDefined(transclude) ? transclude : false;
335-
$compileProvider.directive('sf' + angular.uppercase(type[0]) + type.substr(1), function() {
335+
$compileProvider.directive('sf' + type[0].toUpperCase() + type.substr(1), function() {
336336
return {
337337
restrict: 'EAC',
338338
scope: true,

0 commit comments

Comments
 (0)