Angular.js: angular.lowercase is undefined

Created on 11 May 2018  路  2Comments  路  Source: angular/angular.js

I'm submitting a ...

  • [x] bug report
  • [ ] feature request
  • [ ] other

Current behavior:
Using a library that uses the angular.lowercase function (in my case, textAngular, a WYSIWYG html editor) it breaks down because angular.lowercase was undefined

Expected / new behavior:

angular.lowercase should be a function that returns the lowercase of the given input

Minimal reproduction of the problem with instructions:

install angular >= 1.7.0
install textAngular latest version

AngularJS version: 1.7.0

Browser: [all]

Anything else:

Most helpful comment

The lowercase and uppercase methods, which have been deprecated since 1.5, were removed from the public API in 1.7 (1daa4f2231a89ee88345689f001805ffffa9e7de).

Ideally the textAngular library would not be using these methods and I'd recommend filing a bug there.

For now you could add the methods back yourself if you want...

All 2 comments

Hi @ITGuy9401 ,

of according to the migration guide: https://code.angularjs.org/1.7.0-rc.0/docs/guide/migration#migrating-from-1-6-to-1-7 this is not an AngularJS bug but a textAngular support update for AngularJS 1.7.x;

The bug should be opened here, https://github.com/textAngular/textAngular .

Hope this helps.

The lowercase and uppercase methods, which have been deprecated since 1.5, were removed from the public API in 1.7 (1daa4f2231a89ee88345689f001805ffffa9e7de).

Ideally the textAngular library would not be using these methods and I'd recommend filing a bug there.

For now you could add the methods back yourself if you want...

Was this page helpful?
0 / 5 - 0 ratings