Skip to content

Commit

Permalink
Merge pull request #978 from rthaut/support/0.x
Browse files Browse the repository at this point in the history
replace `angular.uppercase` with `String.prototype.toUpperCase()` (support/0.x)
  • Loading branch information
Anthropic authored Jun 25, 2018
2 parents adef004 + 02b618d commit e4201b7
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 e4201b7

Please sign in to comment.