Search results
From the blog
Posted 2024-04-09
Deferring JS Until Script Load
A common recommendation when using JavaScript is to put your <script> elements at the end of your HTML, including those that reference a JS file on your site.
One issue, however, is that if you then have a script that references a function from another script, how do you ensure the other script is loaded already?
From the blog
Posted 2014-05-08
A Better $state.reload for the AngularJS UI-Router
While working on Apigility, several times I ran into an odd issue: after fetching new data via an API and assigning it to a scoped variable, content would flash into existence… and then disappear. Nothing would cause it to display again other than a browser reload of the page.
From the blog
Posted 2013-12-03
A Bower Primer
Recently, I've been doing a fair bit of frontend development with my team as we've worked on the Apigility admin. This has meant working with a variety of both JavaScript and CSS libraries, often trying something out only to toss it out again later. Working with frontend libraries has been quite a hassle, due to a combination of discovery, installation issues, and build issues (minimization, primarily). I figured there must a better way.
Search tips
- Use
#{some tag}ortag:{some tag}to filter by tag; using this more than once will find results that match all tags. - Use
year:{year}to filter by year. If you use this multiple times, the last one wins. - Use
begin:{year-month-day}to restrict to results beginning on that day. Last one wins. - Use
end:{year-month-day}to restrict to results ending on that day. Last one wins.