alongubkin / alongubkin/angular-datepicker
Issue with nativeSplit
- Lenguaje dominante
- JavaScript
- Estrellas
- 290
- Forks
- 126
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
I am getting the following error in my console when I try to add anguler-datepicker to my project:
```
Uncaught RangeError: Maximum call stack size exceeded
```
and it then points to `VM877 legacy.js:84`
Which contains
``` js
/*!
* Cross-Browser Split 1.1.1
* Copyright 2007-2012 Steven Levithan
* Available under the MIT License
* http://blog.stevenlevithan.com/archives/cross-browser-split
*/
var nativeSplit = String.prototype.split, compliantExecNpcg = /()??/.exec('')[1] === undefined
String.prototype.split = function(separator, limit) {
var str = this
if (Object.prototype.toString.call(separator) !== '[object RegExp]') {
return nativeSplit.call(str, separator, limit) // line 84
}
```
Any suggestions on what is wrong here?
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.