Posts (12) in front end:

Cross-Origin vs. Local Script Loading with jQuery

04/15/2014
In a few places on our site we open a modal dialog where users can change their avatar through Facebook or by uploading a photo from their computer. The template is rendered via jQuery and includes the JavaScript and CSS needed for the upload functionality. This modal broke when our testing servers were configured to use content from the CDN and we started seeing undefined object errors in the developer console. Suddenly, a JavaScript file we include with the template wasn't loading in time for the upload interaction. Read more

How Not to Refactor Code

04/04/2014
We on the Front End side of the engineering team at Craftsy are all professionals--at least we pretend to be. And we’ve all worked on projects--recently or in the past--wherein large sections of code needed refactoring. What follows is a list of mistakes we’ve seen (or made) throughout the years.... Read more