Index: lib/MochiKit/Sortable.js =================================================================== --- lib/MochiKit/Sortable.js (revision 6681) +++ lib/MochiKit/Sortable.js (working copy) @@ -573,7 +573,7 @@ }); // trunk compatibility -MochiKit.Sortable.Sortable = MochiKit.Sortable; +// MochiKit.Sortable.Sortable = MochiKit.Sortable; MochiKit.Sortable.__new__ = function () { MochiKit.Base.nameFunctions(this); Index: lib/MochiKit/Signal.js =================================================================== --- lib/MochiKit/Signal.js (revision 6681) +++ lib/MochiKit/Signal.js (working copy) @@ -863,7 +863,7 @@ MochiKit.Signal.__new__ = function (win) { var m = MochiKit.Base; - this._document = document; + this._document = null; this._window = win; this._lock = false; this._dirty = false; Index: lib/MochiKit/DOM.js =================================================================== --- lib/MochiKit/DOM.js (revision 6681) +++ lib/MochiKit/DOM.js (working copy) @@ -1081,7 +1081,7 @@ this.domConverters = new m.AdapterRegistry(); - var __tmpElement = this._document.createElement("span"); + var __tmpElement = null; var attributeArray; if (__tmpElement && __tmpElement.attributes && __tmpElement.attributes.length > 0) { Index: lib/MochiKit/Style.js =================================================================== --- lib/MochiKit/Style.js (revision 6681) +++ lib/MochiKit/Style.js (working copy) @@ -562,6 +562,7 @@ 'INPUT': 'inline-block', 'SELECT': 'inline-block' }; // CSS 'display' support in IE6/7 is just broken... + var navigator = { "userAgent": "" }; if (/MSIE/.test(navigator.userAgent)) { for (var k in this._defaultDisplay) { var v = this._defaultDisplay[k];