MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / initFace

Function initFace

assets/js/unsub_page.js:231–251  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

229 };
230
231 function initFace() {
232 masterTl.remove(doShake);
233 if (!clicked) {
234 var speed = 0.1;
235
236 TweenMax.to(mouthWorry, speed, {morphSVG:mouthWorry, ease: Power0.easeNone});
237 TweenMax.to(mouthWorry, speed, {fill:'none', stroke:'#543093', ease: Power0.easeNone})
238 TweenMax.to(tongue, speed, {css:{display:'none'}, ease: Power0.easeNone})
239 TweenMax.to(eyebrowSadLeft, speed, {morphSVG:eyebrowSadLeft, ease: Power0.easeNone});
240 TweenMax.to(eyebrowSadRight, speed, {morphSVG:eyebrowSadRight, ease: Power0.easeNone});
241 TweenMax.to(paper, speed, {y:0});
242 TweenMax.to(eyeGroup, speed, {y:0});
243 TweenMax.to(mouth, speed, {y:0});
244 TweenMax.to(eyebrowSadLeft, speed, {y:0});
245 TweenMax.to(eyebrowSadRight, speed, {y:0});
246 TweenMax.to(eyeLeft, speed, {morphSVG:eyeLeft, ease: Power0.easeNone});
247 TweenMax.to(eyeLeft, speed, {stroke:'none', fill:'#543093', ease: Power0.easeNone});
248 TweenMax.to(eyeRight, speed, {morphSVG:eyeRight, ease: Power0.easeNone});
249 TweenMax.to(eyeRight, speed, {stroke:'none', fill:'#543093', ease: Power0.easeNone});
250 }
251 };
252
253 function goBack() {
254 clicked = false;

Callers 1

initAnimationsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected