Click event slow in Chrome and Safari

Well, I came across an interesting quirk. Click events in Chrome and Safari were taking a couple of seconds before they were being fired. It was quite the head scratcher. Here's essentially what I was doing: At first, I just changed the <a> tag to be a <span> tag, and that worked. But, I couldn't …

Continue reading Click event slow in Chrome and Safari

How to inject two or more dependencies with the same name

Let's say you have two services named UserService and both are included in your Grails classpath. This can happen, for example if you have a "core" package, and an "application" package that extends services from "core". Here's what that might look like in our case: Well, if you try to use "UserService" in your Grails …

Continue reading How to inject two or more dependencies with the same name