google-code-export / swfobject

Automatically exported from code.google.com/p/swfobject
1 stars 1 forks source link

"Anonymous function not always return a result" error bug patch #399

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Implement swfobject on your website
2. Install the WebDevelopperToolBar for Firefox (if not already done)
3. Launch the page

What is the expected output? What do you see instead?
Clean and zero error JS execution

What version of the product are you using? On what operating system?
swf object 2.2

Please provide any additional information below.
Just add the following condition at line 644
else return null;

Original issue reported on code.google.com by remi.gru...@gmail.com on 4 Nov 2009 at 3:55

Attachments:

GoogleCodeExporter commented 9 years ago
This issue post lacks enough detail for us to follow up on it. Remi, please 
post a
clearer explanation of the issue if you are still interested in pursuing this.

For what it's worth, I use the Web Developer Toolbar with Firefox and SWFObject 
all
the time and have no problems.

Original comment by platelu...@gmail.com on 15 Jan 2010 at 3:04

GoogleCodeExporter commented 9 years ago
Pretty simple: Firebug use to reports me a missing return argument ... and 
adding this simple "else { return null; } 
to the function "getObjectById" helps me to get ripped with this return issue.

That strange behavior was true with  v2.2, don't know if it's still the case 
now.

Original comment by remi.gru...@gmail.com on 15 Jan 2010 at 3:15