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

Issue with nativeSplit #19

Open
LucasRoesler opened this issue Sep 5, 2014 · 1 comment
Open

Issue with nativeSplit #19

LucasRoesler opened this issue Sep 5, 2014 · 1 comment

Comments

@LucasRoesler
Copy link

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?

@lukelarsen
Copy link

I'm getting this as well.

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

2 participants