We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi there,
I want to use your script (tried via npm, and the bower repo) for my application but if I include it I get the following error:
Uncaught TypeError: Cannot set property 'findAndReplaceDOMText' of undefined
Which is caused by this line (22) of code:
root.findAndReplaceDOMText = factory();
In my case it looks like root is not defined, cause if I change the code to
window.findAndReplaceDOMText = factory();
the error dissapears and the script works. Do you have any idea what is causing this? Couldn't find anyone facing a similiar issue via Google.
Thanks for your help.
The text was updated successfully, but these errors were encountered:
Hi Tobias. What environment are you trying to run it in? (What browser?)
Sorry, something went wrong.
Hi James, running it on a localhost (xammp) on a Windows os in Google Chrome. Tried it also in Firefox. Isn't working too, but throws no error.
As mentioned if I replace root with window it works without errors.
Am Samstag, 14. Mai 2016 schrieb James Padolsey :
Hi Tobias. What environment are you trying to run it in? (What browser?) — You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub #44 (comment)
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub #44 (comment)
Von Gmail Mobile gesendet
@padolsey do you have any idea what this could be?
Hey @padolsey do you have anything new on this?
No branches or pull requests
Hi there,
I want to use your script (tried via npm, and the bower repo) for my application but if I include it I get the following error:
Uncaught TypeError: Cannot set property 'findAndReplaceDOMText' of undefined
Which is caused by this line (22) of code:
root.findAndReplaceDOMText = factory();
In my case it looks like root is not defined, cause if I change the code to
window.findAndReplaceDOMText = factory();
the error dissapears and the script works. Do you have any idea what is causing this? Couldn't find anyone facing a similiar issue via Google.
Thanks for your help.
The text was updated successfully, but these errors were encountered: