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

Script errors in IE #34

Closed
dodgyrabbit opened this issue Dec 10, 2010 · 3 comments
Closed

Script errors in IE #34

dodgyrabbit opened this issue Dec 10, 2010 · 3 comments

Comments

@dodgyrabbit
Copy link

Just tried headjs in IE - specifically the demo page with headjs.html
IE 8 (and IE 7 in compatability mode) shows a scripting error.

'null' is null or not an object
prototype.js
line 4125

@dougjohnston
Copy link

Got the same error in IE7 when on the headjs.html demo page. Confirmed in IE6 as well.

Line: 4126
Char: 5
Error: 'null' is null or not an object
Code: 0

Great stuff so far! Can't wait to put this into production!

@headjs
Copy link
Collaborator

headjs commented Dec 13, 2010

looks like the prototype.js library is throwing those errors. unfortunately I cannot test it right now because I cannot connect my Windows to the internet.

@tipiirai
Copy link
Member

I found the issue: I was using version 1.6.0.x of prototype.js that uses one document.write operation. Head JS will not support document writes. Loading 1.6.1 version fixes this.

I'll fix the website today/tomorrow.

Now:

https://github.com/codyaray/mashbot/raw/b6e3723dc29026bdec9cb7963812e9636cdbe03d/public/javascripts/prototype.js

Will be:

https://github.com/smith/scripty2/raw/master/lib/prototype.js

This issue was closed.
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

3 participants