Skip to content

Commit

Permalink
replace angular.uppercase with String.prototype.toUpperCase()
Browse files Browse the repository at this point in the history
  • Loading branch information
rthaut committed Jun 24, 2018
1 parent adef004 commit 02b618d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/decorators.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 02b618d

Please sign in to comment.