Commit Graph

10 Commits (e68fb5884cf0b565ee238a145a83eb83437adfe4)

Author SHA1 Message Date
paldepind 88501771bd Remove backtics 9 years ago
André Staltz 394168f730 Fix safety check for requestAnimationFrame
Doing `window &&` does not achieve the expected behavior, it instead crashes with an error `ReferenceError: window is not defined`. This fix is simple and necessary for server-side rendering.
9 years ago
Mike Montoya cd0eff09b8 Safety check for requestAnimationFrame 9 years ago
Mike Montoya 164164518e Copy ALL inherited CSS properties except vendor prefixed ones. 9 years ago
Mike Montoya 31d2e1e24c Cache more inherited properties in destroy() 9 years ago
Mike Montoya 870e9ba87e Re-apply saved inherited styles using a for..in loop for flexibility. 9 years ago
Mike Montoya 1a45b9dcfd Now works with hero text that changes size and alignment. 9 years ago
Mike Montoya 7aa7fc10d9 Better text handling, etc. 9 years ago
Mike Montoya 8454c580bc Hero: Save bounding rectangle in 'destroy' hook, use it later. Set width/height/margin before animating. 9 years ago
paldepind f43fe5a107 Add module for hero animations 10 years ago