Skip to content

Commit e9a2a8c

Browse files
authored
Merge pull request #976 from rthaut/development
replace `angular.uppercase` with `String.prototype.toUpperCase()`
2 parents e1199e2 + c633b49 commit e9a2a8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/schema-form-decorators.provider.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ export default function($compileProvider, sfPathProvider) {
380380

381381
let createManualDirective = function(type, templateUrl, transclude) {
382382
transclude = angular.isDefined(transclude) ? transclude : false;
383-
$compileProvider.directive('sf' + angular.uppercase(type[0]) + type.substr(1), function() {
383+
$compileProvider.directive('sf' + type[0].toUpperCase() + type.substr(1), function() {
384384
return {
385385
restrict: 'EAC',
386386
scope: true,

0 commit comments

Comments
 (0)