Skip to content

Commit e4201b7

Browse files
authored
Merge pull request #978 from rthaut/support/0.x
replace `angular.uppercase` with `String.prototype.toUpperCase()` (support/0.x)
2 parents adef004 + 02b618d commit e4201b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/decorators.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ angular.module('schemaForm').provider('schemaFormDecorators',
332332

333333
var createManualDirective = function(type, templateUrl, transclude) {
334334
transclude = angular.isDefined(transclude) ? transclude : false;
335-
$compileProvider.directive('sf' + angular.uppercase(type[0]) + type.substr(1), function() {
335+
$compileProvider.directive('sf' + type[0].toUpperCase() + type.substr(1), function() {
336336
return {
337337
restrict: 'EAC',
338338
scope: true,

0 commit comments

Comments
 (0)