Skip to content

Commit

Permalink
Added a missing parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
jaukia committed May 7, 2011
1 parent e23011d commit 88dc4bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site.js
Expand Up @@ -116,7 +116,7 @@ function setupInteraction(easingName) {
var cssPrefix1 = "-webkit-transition-timing-function: <br/>&nbsp;&nbsp;&nbsp;&nbsp;";
var cssPrefix2 = "-moz-transition-timing-function: <br/>&nbsp;&nbsp;&nbsp;&nbsp;";

var textContent = "$(\"#box\").animate({top:100}, ";
var textContent = "$(\"#box\").animate({left:200}, ";

var unCamelCase = function(text) {
return text.replace("easie","").replace(/([A-Z])/g,"-$1").toLowerCase().substr(1);
Expand All @@ -133,7 +133,7 @@ function setupInteraction(easingName) {
cssContent += "cubic-bezier("+params.join(",")+")";
}
}
textContent += ");";
textContent += "));";
cssContent += ";";

$("#easieCode").html(textContent);
Expand Down

0 comments on commit 88dc4bd

Please sign in to comment.