Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: n.includes is not a function #24

Open
drolean opened this issue Aug 21, 2021 · 1 comment
Open

Uncaught TypeError: n.includes is not a function #24

drolean opened this issue Aug 21, 2021 · 1 comment

Comments

@drolean
Copy link

drolean commented Aug 21, 2021

Estou utilizando a lib em um projeto, ai recebi o relato de alguns clientes não conseguirem passar para frente.
testo no meu ambiente funciona perfeito, testei em iphone 7, android e foi lindo...

ai perguntei para um dos clientes qual modelo do aparelho, e debugando descobri que utiliza um motorola com chrome desatualizado, ai debugando no chrome inspect encontrei este erro, vou tentar outros testes. para ver se consigo contornar

function__webpack_modules__../node_modules/@fnando/cpf/commonjs/index.js.e.isValid @ index.js:formatted:1

(anonymous function) @ index.js:formatted:1

__webpack_modules__../node_modules/jquery/dist/jquery.js.jQuery.event.dispatch @ index.js:formatted:1

__webpack_modules__../node_modules/jquery/dist/jquery.js.jQuery.event.add.elemData.handle @ index.js:formatted:1

__trace__ @ index.js:formatted:1
@drolean
Copy link
Author

drolean commented Aug 21, 2021

Consegui resolver jogando esta solução no meu código

https://www.cluemediator.com/object-doesnt-support-property-or-method-includes-in-ie

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant