Skip to main content

Bug Tracker

Side navigation

#11102 closed bug (worksforme)

Opened December 24, 2011 05:51PM UTC

Closed December 26, 2011 01:49PM UTC

Last modified March 14, 2012 09:32AM UTC

Syntax error

Reported by: vapnga@gmail.com Owned by: vapnga@gmail.com
Priority: low Milestone: None
Component: web Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:
Description

When i use search function on your website by keyword 'createDelegate'

Firebug display:

'''missing } after function body

[Break On This Error] //}).replace("<style id='flashfire...ashFirebug_init();}catch(e){}},false);

Delegate (line 66)

syntax error

[Break On This Error] ([^<])/g,"<script>window.onload = (function(){\\ntry{")'''

Attachments (0)
Change History (2)

Changed December 25, 2011 10:57PM UTC by sindresorhus comment:1

description: When i use search function on your website by keyword 'createDelegate' \ Firebug display: \ '''missing } after function body \ [Break On This Error] //}).replace("<style id='flashfire...ashFirebug_init();}catch(e){}},false); \ Delegate (line 66) \ syntax error \ [Break On This Error] ([^<])/g,"<script>window.onload = (function(){\\ntry{$1")''' \ When i use search function on your website by keyword 'createDelegate' \ Firebug display: \ '''missing } after function body \ [Break On This Error] //}).replace("<style id='flashfire...ashFirebug_init();}catch(e){}},false); \ Delegate (line 66) \ syntax error \ [Break On This Error] ([^<])/g,"<script>window.onload = (function(){\\ntry{")''' \
owner: → vapnga@gmail.com
status: newpending

I assume you're using Firefox, since you mention Firebug.

I could not reproduce your problem in either Firefox 8 or 9.

Can you please add your browser version and url to the page showing the problem?

Also make sure it's not your addons causing the problem, by testing it in Firefox safemode.

Changed December 26, 2011 01:49PM UTC by addyosmani comment:2

component: unfiledweb
priority: undecidedlow
resolution: → worksforme
status: pendingclosed

Thanks for submitting a ticket to to the jQuery bug tracker. I haven't been able to reproduce this issue either in the latest versions of FF, but based on your error sample, it appears to occur when Firebug is open (perhaps there's a missing '}') as mentioned) in one of our scripts.

We're currently working on refreshed versions of all our sites and even with Firebug open, they appear to no longer have the same problem. As the newer sites will be getting pushed out in the near future, I'll be closing this ticket as worksforme.

(if another team member has access to fix this quickly and feels its warranted, please feel free to reopen).