Skip to main content
Dublin Library

The Publishing Project

Home

Passing flags and arguments to Gulp

There are times when we want to do different things based on whether we're creating code for production or development. This is based on the example from the Gulp documentation. We'll use this as the...

Automating WordPress Translations

One of the strong points of WordPress is that it's easy to translate the tool itself. As discussed in Translating WordPress Themes the process for translating WordPress elements is as follows: Add a...

Updating a service worker using Workbox

In my layouts site I use Workbox as an abstraction to create a service worker. I created the service worker with version 3 of the library and it was good. The problem is that the longer it passes the...

Formating numbers with Javascript

When working with numbers on Javascript I've most frequently seen toLocaleString as the solution to format numbers. The following example uses US Dollars as the currency and accounting as the currency...

What replaces Flash?

We have four months or so before Flash goes away and the biggest question after why is it going away? Is what replaces Flash? This is an important issue and not just for those people who are worried...

Javascript Dynamic Imports

There is a function-like, dynamic form of import that will allow us to play with imports inside modules and classes and will let us work with them together with async functions and awaiting for async...

Archive Navigation