Skip to content

Commit

Permalink
Merge pull request #976 from rthaut/development
Browse files Browse the repository at this point in the history
replace `angular.uppercase` with `String.prototype.toUpperCase()`
  • Loading branch information
Anthropic authored Jun 24, 2018
2 parents e1199e2 + c633b49 commit e9a2a8c
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 e9a2a8c

Please sign in to comment.