Skip to content

Dict failed when document.createElement method is overrided #1

@ajaxsys

Description

@ajaxsys

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
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions