I hereby claim:
- I am darkwing on github.
- I am davidwalshblog (https://keybase.io/davidwalshblog) on keybase.
- I have a public key ASDG8Gr4ObeuMJbsO6NFQdoN6zLjoEsujmSHRy8uFj-9SAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
The Firefox debugger has undergone a massive rewrite in the last two years, moving away from old Mozilla-specific technologies like XUL etc, to more modern technologies like React, webpack and babel.
[Babel][babel] is a tool for compiling Javascript into Javascript. It generates an [Abstract Syntax Tree (AST)][ast_wiki] which can be transformed, transversed or manipulated in various ways for use. Babel and AST's have played a major part in growth of the modern web tooling ecosystem.
Over the past year, we have used babel extensively in building the debugger, from disabling non-executable lines so breakpoints cannot be set to highlighting out of scope code and much more.
I felt it would be cool to write a couple of blog posts, documenting some of our coolest use cases and looking into some debugger internals as we go.
package Bugzilla::Extension::PhabBugz::WebService; | |
use 5.10.1; | |
use strict; | |
use warnings; | |
use base qw(Bugzilla::WebService); | |
use Bugzilla::Attachment; |
Internal Errors | |
============================== | |
Response { | |
status: 500, // HTTP Code | |
data: { | |
error: "Internal error: {description of error}. This error has been logged and the team will address the problem shortly.", | |
} | |
} | |
Bugzilla |
#accountnav li { | |
visibility: hidden; | |
} | |
/* | |
Redesign below | |
*/ | |
body { |
var EXTRA_FILES = [ | |
"/xjs/_/js/k=xjs.ntp.en_US._WU8vYndmIc.O/m=jsa,ntp,d,csi/rt=j/d=1/t=zcms/rs=ACT90oH3VDY16AdrgBkBZukM4ZIP3OM-xQ", | |
]; | |
var CHECKSUM = "e0n4rd"; | |
var BLACKLIST = [ | |
'/gen_204\?', | |
'/async/', | |
]; |
'use strict'; | |
/* | |
Ways to improve site speed for theme: | |
=========================================== | |
- Store fonts.css in localStorage, don't make request if it's there | |
- Create a custom FontAwesome lib, lazyload | |
*/ |
var gulp = require('gulp'); | |
var runSequence = require('run-sequence'); | |
var minifyCss = require('gulp-minify-css'); | |
var buildDir = './build/'; | |
var build = new Date().getTime(); | |
var minifyCssSettings = { advanced: true, aggressiveMerging: true }; | |
// Main build |