Permalink
Browse files

Fix cubic-bezier typo

  • Loading branch information...
koenbok committed Apr 19, 2014
1 parent 2c1fd6d commit 958bf94c67cfe68a4c8a6070df1a2ef318a4a7f7
Showing with 10 additions and 4 deletions.
  1. +5 −2 build/framer.js
  2. +1 −1 extras/CactusFramerTest/static/app-cs.coffee
  3. +3 −0 src/animation.coffee
  4. +1 −1 todo.txt
@@ -1,7 +1,7 @@
// Framer 2.0-59-gb78ddb1 (c) 2013 Koen Bok
// Framer 2.0-60-g2c1fd6d (c) 2013 Koen Bok
// https://github.com/koenbok/Framer
window.FramerVersion = "2.0-59-gb78ddb1";
window.FramerVersion = "2.0-60-g2c1fd6d";
(function(){var require = function (file, cwd) {
@@ -3866,6 +3866,9 @@ require.define("/src/animation.coffee",function(require,module,exports,__dirname
} else if (curve.slice(0, +("bezier-curve".length - 1) + 1 || 9e9) === "bezier-curve") {
v = parseCurve(curve, "bezier-curve");
return bezier.BezierCurve(v[0], v[1], v[2], v[3], precision, time);
} else if (curve.slice(0, +("cubic-bezier".length - 1) + 1 || 9e9) === "cubic-bezier") {
v = parseCurve(curve, "cubic-bezier");
return bezier.BezierCurve(v[0], v[1], v[2], v[3], precision, time);
} else if (curve.slice(0, +("spring".length - 1) + 1 || 9e9) === "spring") {
v = parseCurve(curve, "spring");
return spring.SpringCurve(v[0], v[1], v[2], precision);
@@ -2,4 +2,4 @@ view = new View
view.animate
properties: {x:100}
delay: 3000
curve: "cubic-bezier(.2, .5, .4, .2)"
@@ -429,6 +429,9 @@ class Animation extends EventEmitter
else if curve[.."bezier-curve".length-1] is "bezier-curve"
v = parseCurve curve, "bezier-curve"
return bezier.BezierCurve v[0], v[1], v[2], v[3], precision, time
else if curve[.."cubic-bezier".length-1] is "cubic-bezier"
v = parseCurve curve, "cubic-bezier"
return bezier.BezierCurve v[0], v[1], v[2], v[3], precision, time
else if curve[.."spring".length-1] is "spring"
v = parseCurve curve, "spring"
return spring.SpringCurve v[0], v[1], v[2], precision
@@ -1,4 +1,4 @@
- Add a delay option to animations
+ Add a delay option to animations
+ Fix the draggable
- Fix the curve typo: https://www.facebook.com/groups/framerjs/permalink/469402916520118/
+ Add a default width, height and color

0 comments on commit 958bf94

Please sign in to comment.