#4487 D2 broken - "D2 not defined" in console

Slashdot
open
nobody
Ajax (20)
5
2010-06-23
2010-06-23
Anonymous
No

A few days ago, my D2 control box disappeared when browsing discussions on slashdot.org. All other D2 functionality stopped working as well. Firefox 3.0.19 (on Linux) has "D2 not defined" in its error console. Opera 9.64 exhibits the same symptoms but gives a more elaborate error message:

JavaScript - http://yro.slashdot.org/story/10/06/22/218257/White-House-Cracks-Down-On-Piracy-amp-Counterfeiting
Inline script thread
Error:
name: ReferenceError
message: Statement on line 3: Undefined variable: D2
Backtrace:
Line 3 of inline#22 script in http://yro.slashdot.org/story/10/06/22/218257/White-House-Cracks-Down-On-Piracy-amp-Counterfeiting
D2.d2_keybindings_disable()[191] = 1;
stacktrace: n/a; see 'opera:config#UserPrefs|Exceptions Have Stacktrace'
JavaScript - http://yro.slashdot.org/story/10/06/22/218257/White-House-Cracks-Down-On-Piracy-amp-Counterfeiting
Inline script thread
Error:
name: ReferenceError
message: Statement on line 3: Undefined variable: D2
Backtrace:
Line 3 of inline#23 script in http://yro.slashdot.org/story/10/06/22/218257/White-House-Cracks-Down-On-Piracy-amp-Counterfeiting
D2.currents()['hidden'] = 0;
stacktrace: n/a; see 'opera:config#UserPrefs|Exceptions Have Stacktrace'
JavaScript - http://yro.slashdot.org/story/10/06/22/218257/White-House-Cracks-Down-On-Piracy-amp-Counterfeiting
Event thread: DOMContentLoaded
Error:
name: ReferenceError
message: Statement on line 3: Undefined variable: D2
Backtrace:
Line 3 of inline#21 script in http://yro.slashdot.org/story/10/06/22/218257/White-House-Cracks-Down-On-Piracy-amp-Counterfeiting
D2.slider = new D2.Slider(
... Line 20 of linked script http://a.fsdn.com/sd/all-minified.js?T_2_5_0_298b
function(){this.call(document,p)}
... Line 13 of linked script http://a.fsdn.com/sd/all-minified.js?T_2_5_0_298b
function(I,M,H){var G,J=0,K=I.length;if(H){if(K===g){for(G in I){if(M.apply(I[G],H)===false){break}}}else{for(;J<K;){if(M.apply(I[J++],H)===false){break}}}}else{if(K===g){for(G in I){if(M.call(I[G],G,I[G])===false){break}}}else{for(var L=I[0];J<K&&M.call(L,J,L)!==false;L=I[++J]){}}}return I}
Line 20 of linked script http://a.fsdn.com/sd/all-minified.js?T_2_5_0_298b
function(){if(!p.isReady){p.isReady=true;if(p.readyList){p.each(p.readyList,function(){this.call(document,p)});p.readyList=null}p(document).triggerHandler("ready")}}
Line 20 of linked script http://a.fsdn.com/sd/all-minified.js?T_2_5_0_298b
function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);p.ready()}
...
stacktrace: n/a; see 'opera:config#UserPrefs|Exceptions Have Stacktrace'

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks