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 23, 2018
1 parent e1199e2 commit c633b49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/schema-form-decorators.provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ export default function($compileProvider, sfPathProvider) {

let 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 c633b49

Please sign in to comment.