Tag: javascript

  • Angular’s $http.error()

    Earlier I promised (ha! PROMISE!) to explain why I don’t like Angular’s $http.success() and .error() but this guy beat me to the punch: Don’t use $http’s .success() First, I hate anything that creates inconsistency in my code. If we use success() we’ll still have to use then() in every other place that has a promise, […]

  • DRYer than thou

    At work we have a project (launching Monday, w00t!) that has a lot of cool things happening on the browser side. You know kids these days, what with their jQueries and Web 2.0s, they need whiz bang special effects in their websites. In my day, we only had one type of input field in our […]