angular-datepicker
angular-datepicker copied to clipboard
Issue with nativeSplit
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
/*!
* Cross-Browser Split 1.1.1
* Copyright 2007-2012 Steven Levithan <stevenlevithan.com>
* 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?
I'm getting this as well.