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

Dict failed when document.createElement method is overrided #1

Open
ajaxsys opened this issue Jul 25, 2014 · 0 comments
Open

Dict failed when document.createElement method is overrided #1

ajaxsys opened this issue Jul 25, 2014 · 0 comments

Comments

@ajaxsys
Copy link
Owner

ajaxsys commented Jul 25, 2014

NG site: http://goo.gl/7ttj6
Problems: loader.js use document.createElement method to create script tag.
But the target NG site overrides the document.createElement method for customizing the native method(setAttribute method) of script element.

// TODO
if (document.createElement.toString().indexOf('[native code]')<0) {
    console.log('May not be supported because createElement method is Changed.');
    // Solution: call getNativeFunction in jquery.selection.js
}
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