-
Recent Posts
Recent Comments
- R.P. Churchill on TWSL Series 07: Discovery and Data Collection
- R.P. Churchill on A Simulationist’s Framework for Business Analysis: Round Two
- LN on A Simulationist’s Framework for Business Analysis: Round Two
- R.P. Churchill on Starting to Learn About the Java Memory Model
- R.P. Churchill on Multidimensional Arrays in Javascript
Categories
Meta
Daily Archives: June 29, 2016
Reproducing A Clever Animation Product, Part 18
Yesterday I wrote about how you’re supposed to be able to process conditional function parameters in JavaScript:
1 2 3 4 5 |
function addTransformToList(sElement,tDuration,trans,tAdjustment,mMethod) { var tAdjustment = typeof tAdjustment !== "undefined" tAdjustment : ""; var mMethod = typeof mMethod !== "undefined" mMethod : "linear"; ... } |
The teeeensy little problem is that neither browsers nor syntax checkers in certain development tools (WebStorm, in my case, I used it … Continue reading
Posted in Tools and methods
Tagged animation, conditional parameters, fast animation framework, JavaScript
Leave a comment