Skip to content

Commit

Permalink
Work around a JavaBean oddity
Browse files Browse the repository at this point in the history
  • Loading branch information
seanf committed Sep 1, 2017
1 parent 4e79638 commit 7ede107
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/services/src/main/java/org/zanata/util/WebJars.java
Expand Up @@ -122,7 +122,9 @@ public String getCrossroadsJS() {
return classic("crossroads.js", "crossroads.min.js");
}

public String getJQueryTyping() {
// NB We have to call it getjQueryTyping if we want to use it in EL as webjars.jQueryTyping (javabean rules)
// Ref: http://futuretask.blogspot.com/2005/01/java-tip-6-dont-capitalize-first-two.html
public String getjQueryTyping() {
return bower("github-com-ccakes-jquery-typing", "plugin/jquery.typing-0.3.3.min.js");
}

Expand Down

0 comments on commit 7ede107

Please sign in to comment.