From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: None (mailfrom) identity=mailfrom; client-ip=8.23.224.61; helo=out.smtp-auth.no-ip.com; envelope-from=kevin@carhart.net; receiver= Received: from out.smtp-auth.no-ip.com (smtp-auth.no-ip.com [8.23.224.61]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 0818A779AA for ; Sun, 26 Nov 2017 19:36:09 -0800 (PST) X-No-IP: carhart.net@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from carhart.net (unknown [99.52.200.227]) (Authenticated sender: carhart.net@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id 720C4343; Sun, 26 Nov 2017 19:37:45 -0800 (PST) Received: from carhart.net (localhost [127.0.0.1]) by carhart.net (8.13.8/8.13.8) with ESMTP id vAR3bhQK020372; Sun, 26 Nov 2017 19:37:43 -0800 Received: from localhost (kevin@localhost) by carhart.net (8.13.8/8.13.8/Submit) with ESMTP id vAR3bhIp020369; Sun, 26 Nov 2017 19:37:43 -0800 Date: Sun, 26 Nov 2017 19:37:43 -0800 (PST) From: Kevin Carhart To: Karl Dahlke cc: Edbrowse-dev@lists.the-brannons.com In-Reply-To: <20171026215815.eklhad@comcast.net> Message-ID: References: <20171016072958.eklhad@comcast.net> <20171026215815.eklhad@comcast.net> User-Agent: Alpine 2.03 (LRH 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [Edbrowse-dev] data-* attributes / new work on RC X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.24 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Nov 2017 03:36:10 -0000 > So can we stub out these functions for now, just to move along? Yep, we can, it's just a seesaw like everything. Maybe some things rely on it, and others don't. I do have another piece of evidence that the Events code comes up in sites we want. I revisited xqsuperschools.org, which is on the wish list. The current first-occurring runtime error says: application-e518b48189c89ff2924c9b37a81179824299937c79fecd4f8024 line 10368: TypeError: undefined not callable (property 'createEvent' of [object Object]) And here is the code from around that line: ---- CustomEvent = window.CustomEvent; if (typeof CustomEvent !== 'function') { CustomEvent = function(event, params) { var evt; evt = document.createEvent('CustomEvent'); // line 10368 evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail); return evt; }; CustomEvent.prototype = window.Event.prototype; } fire = Rails.fire = function(obj, name, data) { var event; event = new CustomEvent(name, { bubbles: true, cancelable: true, detail: data }); obj.dispatchEvent(event); return !event.defaultPrevented; }; ---- So bubbles comes up in use cases.. createEvent comes up, dispatchEvent comes up, etc.