Tag Archives: JavaScript

JavaScript linting: moving from JSHint and JSCS to ESLint

JSHint and JSCS are both brilliant JavaScript linting tools, but ESLint provides more functionality than both of them combined. It’s quick, too. This post is a quick guide to moving from JSHint and JSCS to ESLint. Continue reading

Advertisements
Posted in Code linting, git, GitHub, JavaScript | Tagged , , , , , , , , , | Leave a comment

simpl.info: simplest possible examples of HTML, CSS and JavaScript

I’ve built a site to provide simplest possible examples of HTML, CSS and JavaScript: simpl.info github.com/samdutton/simpl Motivations: ‘Show me the code!’ ‘Does technology X work on platform Y?’ ‘Where the heck is that Foo example I saw?’ A minimum of ‘huh?’ … Continue reading

Posted in Uncategorized | Tagged , , , | 3 Comments

The Page Visibility API

Demo of the Page Visibility API: useful for checking if a web page is — or becomes — visible or hidden. Continue reading

Posted in HTML, Uncategorized | Tagged , , | 12 Comments

The BBC, Glow and jQuery

The BBC’s JavaScript library Glow 2 ‘is no longer in active development. We are currently researching and developing a BBC JavaScript library that uses jQuery for its core DOM manipulation functionality.’ Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Additional methods for JavaScript Array

Additions to the JavaScript Array prototype making it easier to work with numeric arrays. Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

jQuery debugging tips

Some gotchas to avoid when coding with jQuery. Continue reading

Posted in Uncategorized | Tagged , , | 2 Comments