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

error #1

Open
yanhaijing opened this issue Mar 9, 2015 · 0 comments
Open

error #1

yanhaijing opened this issue Mar 9, 2015 · 0 comments

Comments

@yanhaijing
Copy link

//if HTML string, construct domfragment, fill object, then return object
if(typeof params === 'string' && /^\s_<(\w+|!)[^>]_>/.test(params)){//yup its forsure html string
//create div & docfrag, append div to docfrag, then set its div's innerHTML to the string, then get first child
var divElm = currentContext.createElement('div');

when currentContext != document;
error

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