JavaScript Articles
-
Generational Garbage Collection in Firefox
Generational garbage collection (GGC) has now been enabled in the SpiderMonkey JavaScript engine in Firefox 32. GGC is a performance optimization only, and should have no observable effects on script behavior. So what is it? What does it do? GGC is a way for the JavaScript engine to collect short-lived objects faster. Say you have […]
-
WebIDE, Storage inspector, jQuery events, iframe switcher + more – Firefox Developer Tools Episode 34
A new set of Firefox Developer Tools features has just been uplifted to the Aurora channel. These features are available right now in Aurora, and will be in the Firefox 34 release in November. This release brings new tools (storage inspector, WebIDE), an updated profiler, and handy enhancements to the existing tools: WebIDE WebIDE, a […]
-
Introducing Blast.js
After releasing Velocity.js, a highly performant web animation engine, I wanted to leverage that power for typographic manipulation. The question soon arose, How could I animate one letter, one word, or one sentence at a time without bloating my HTML with wrapper elements? If I could figure this out, I could create beautiful typographic animation […]
-
Black Box Driven Development in JavaScript
Sooner or later every developer finds the beauty of the design patterns. Also, sooner or later the developer finds that most of the patterns are not applicable in their pure format. Very often we use variations. We change the well-known definitions to fit in our use cases. I know that we (the programmers) like buzzwords. […]
-
Browserify and Gulp with React
The JS world moves quickly, and nowadays, there’re some new kids around the block. Today, we’ll explore Browserify, Gulp, and React and see whether they’d sound suitable for our projects. You might have heard of them but not have had the time to check them out. So we’ll look at the advantages and disadvantages of […]
-
Time to get hacking – Introducing Rec Room
It’s no secret that the best frameworks and tools are extracted, not created out of thin air. Since launching Firefox OS, Mozilla has been approached by countless app developers and web developers with a simple question: “How do I make apps for Firefox OS?” The answer: “It’s the web; use existing web technologies.” was—and still […]
-
JavaScript Error- and XHR Log Recording With Every Bug Report
Let’s start with a story. A user story: A friend of mine called me in the middle of the day with a very strange request. He told me “Could you come over and help me to fill-in a form”. I was surprised as filling forms is the easiest thing to do online, isn’t it? Even […]
-
What's new in Cordova 3.5.0 for Firefox OS
The Cordova community recently released version 3.5.0 of the tools. This version includes some exciting improvements to the Firefox OS development workflow. Before we dive into the new features, make sure you have the latest version by running: $ sudo npm install -g cordova $ sudo npm install -g plugman Now that we’re all set […]
-
Stack Overflow Dashboard – check engagement, metrics and more
Recently I put together a little Mozilla tags on Stack Overflow dashboard to check the engagement and numbers for the tags we sponsor. I liked the idea and wanted to create a general purpose dashboard for Stack Overflow, and share the feature, code and thinking with you. Features Numbers and developer behavior are always interesting […]
-
Easy audio capture with the MediaRecorder API
The MediaRecorder API is a simple construct, used inside Navigator.getUserMedia(), which provides an easy way of recording media streams from the user’s input devices and instantly using them in web apps. This article provides a basic guide on how to use MediaRecorder, which is supported in Firefox Desktop/Mobile 25, and Firefox OS 2.0. What other […]