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

IE8: No body element found. #248

Closed
krusynth opened this issue Sep 17, 2014 · 2 comments
Closed

IE8: No body element found. #248

krusynth opened this issue Sep 17, 2014 · 2 comments

Comments

@krusynth
Copy link

I'm having a problem using the alpha build with IE8, where it's not finding the document body for some reason. I'm receiving an alert saying "Rangy is not supported in this environment. Reason: No body element found"

Here's my trivial test code:

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <script type="text/javascript" src="https://raw.githubusercontent.com/timdown/rangy/master/lib/rangy-core.js"></script>
  </head>

  <body>
    <header>
      <h1>Javascript annotation service test</h1>
    </header>

  </body>

</html>

Swapping the script out for the Google Code version removes this error. Adding rangy.init() immediately after including the script does not resolve the issue.

@timdown
Copy link
Owner

timdown commented Sep 17, 2014

Fixed. I'll create a new release hopefully tomorrow.

@timdown timdown closed this as completed Sep 17, 2014
@krusynth
Copy link
Author

Wow that was quick! Thanks so much!

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