« first day (5031 days earlier)      last day (138 days later) » 

01:39
02:21
The heck?
SQL isn't a programming language
 
3 hours later…
05:47
@1.21gigawatts No, DOMContentLoaded concerns the entire document, not just the <body> tag. That's why it's not available on that tag. Nor on any other tag.
@1.21gigawatts yes, DOMContentLoaded means that the HTML is parsed and scripts+css are acquired. The Load event occurs after the page is fully loaded and operational. Notably, that means that at the time of DOMContentLoaded CSS hasn't been applied, while at the time of Load it has (the page has completely finished setting up)
@1.21gigawatts you can use code block with no syntax highlighting. ``` before the block and ``` after it. Depending on the flavour of markdown, you might also need to supply a language hint in the first set of backticks, usually it's ```none or maybe ```text - if needed, check the documentation of wherever you use the markdown.
@1.21gigawatts There is no override keyword in JS/TS. If you define a method with the same name as a method in the parent, then it's overridden. No extra syntax needed for that. TS might complain if the signatures are incompatible.
@ParkingMaster It's a declarative programming language. Well, at best you might argue that "SQL" isn't a thing, since there are different implementations, e.g., T-SQL for MS products. But programming languages they are. More specifically, SQL is a 4th generation programming language - the generations are the level of abstraction. 1st gen is machine code. 3rd gen are general purpose languages like Java, C, C++, Python, and JS.
 
9 hours later…
14:54
Hi all
Learning JS modules here
I'm working with a JS file made up of functions defined as this:
myApp.customers.create = {
	create: function(){...},
	update: function(){...},
	//...
}
How would I export just the update function so it can be imported as a module?
Or would update be in a module? If so, can it keep that object hierarchy?
IGP
IGP
15:28
Is there any way to tell Eslint that a global variable is of a certain type? I'm dealing with a weird installation of sweetalert2 and I just want to do something like /* global Swal: SweetAlert */
16:15
posted on July 25, 2024 by Ben Mason

Hi everyone! We've just released Chrome Dev 129 (129.0.6614.2) for Android. It's now available on Google Play. You can see a partial list of the changes in the Git log. For details on new features, check out the Chromium blog, and for details on web platform updates, check here. If you find a new issue, please let us know by filing a bug. Krishna Govind Google Chrome

17:09
@Alex You'd typically export individual functions but also export an object that collects them. Something like
export function f1() { /* do stuff */ }
export function f2() { /* do stuff */ }
export function f3() { /* do stuff */ }
export const myObject = {
	f1: f1,
	f2: f2,
	f3: f3,
}
@VLAZ Nice, thanks
You can also have an object and export one of its methods but I'd not recommend it. Technically it can work, but it's easy to then forget the this in the method is dynamic. So, if you keep these as functions, it's easier to maintain.
Would the whole file containing those exports be a module?
Any file that contains even a single import or export is a module.
17:32
Thanks. Then it will need type="module" in the HTML
posted on July 25, 2024 by Ben Mason

Hi everyone! We've just released Chrome Beta 128 (128.0.6613.5) for iOS; it'll become available on App Store in the next few days. You can see a partial list of the changes in the Git log. If you find a new issue, please let us know by filing a bug. Harry Souders Google Chrome

18:39
posted on July 25, 2024 by Ben Mason

Hi everyone! We've just released Chrome Stable 127 (127.0.6533.77) for iOS; it'll become available on App Store in the next few hours. This release includes stability and performance improvements. You can see a full list of the changes in the Git log. If you find a new issue, please let us know by filing a bug. Erhu Akpobaro Google Chrome

 
4 hours later…
22:15
posted on July 25, 2024 by Release Managers

Hello All, The Dev channel has been updated to 128.0.6613.0 (Platform version: 15964.2.0) for most ChromeOS devices. If you find new issues, please let us know one of the following ways: File a bug Visit our Chrome OS communitiesGeneral: Chromebook Help CommunityBeta Specific: ChromeOS Beta Help CommunityReport an issue or send feedback on Chrome Interested in


« first day (5031 days earlier)      last day (138 days later) »