michael@0: // vim: set ts=8 sts=4 et sw=4 tw=99: michael@0: document = { michael@0: ready: function (x) { michael@0: this.exec = x; michael@0: } michael@0: }; michael@0: michael@0: var $ = function (x) { michael@0: return document; michael@0: }; michael@0: michael@0: (function ($) { michael@0: eval("(function(){\n" + michael@0: " var Private={};\n" + michael@0: " $(document).ready(function(){\n" + michael@0: " init()\n" + michael@0: " });\n" + michael@0: " function init(){\n" + michael@0: " $(Private)\n" + michael@0: " };\n" + michael@0: "})();"); michael@0: })($); michael@0: document.exec(); michael@0: michael@0: // Don't crash or assert. michael@0: