GSAP (GreenSock Animation Platform), a JavaScript animation library for the modern web
25 matches across 4 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | esm/ScrollTrigger.js | 2557 | // iOS bug: it'll show the address bar but NOT fire the window "resize" event until the animation is done but we |
| MEDIUM | esm/ScrollTrigger.js | 2685 | // smaller file size way to leverage in ScrollSmoother and Observer |
| MEDIUM | esm/gsap-core.js | 428 | timeline._zTime = -_tinyNum; // helps ensure that the next render() will be forced (crossingStart = true in render() |
| MEDIUM | esm/gsap-core.js | 695 | //n:1 is just to indicate v was a number; we leverage that later to set v according to the length we get. If a num |
| MEDIUM | src/ScrollTrigger.js | 1693 | if (_fixIOSBug && tween.vars.scrollY >= maxY || currentScroll >= maxY-1) { // iOS bug: it'll show the address bar bu |
| MEDIUM | src/ScrollTrigger.js | 1773 | ScrollTrigger.core = { // smaller file size way to leverage in ScrollSmoother and Observer |
| MEDIUM | src/gsap-core.js | 284 | timeline._zTime = -_tinyNum; // helps ensure that the next render() will be forced (crossingStart = true in render()) |
| MEDIUM | src/gsap-core.js | 456 | let vars = _isObject(v) ? v : {each:v}, //n:1 is just to indicate v was a number; we leverage that later to set v acco |
| MEDIUM | src/SplitText.ts | 490 | if (anim) { // if the user returned an animation in the onSplit, we record the totalTime() here and revert() it and |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | types/scroll-smoother.d.ts | 241 | * |
| LOW | types/scroll-smoother.d.ts | 261 | // sections(targets: gsap.DOMTarget, vars?: ScrollSmoother.SectionVars | null): ScrollTrigger[]; |
| LOW | types/index.d.ts | 1 | // Type definitions for gsap 3 |
| LOW | types/index.d.ts | 21 | /// <reference path="gsap-plugins.d.ts"/> |
| LOW | esm/utils/matrix.js | 81 | // let a = [], |
| LOW | src/MotionPathPlugin.js | 41 | // feed in an array of quadratic bezier points like [{x: 0, y: 0}, ...] and it'll convert it to cubic bezier |
| LOW | src/Flip.js | 1041 | } |
| LOW | src/utils/matrix.js | 61 | // _forceDisplay = e => { |
| LOW | src/utils/matrix.js | 321 | // export function getMatrix(element) { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | esm/ScrollSmoother.js | 231 | adjustEffectRelatedTriggers = function adjustEffectRelatedTriggers(st, triggers, partial) { |
| LOW | esm/utils/paths.js | 1103 | export function segmentToDistributedPoints(segment, totalPoints) { |
| LOW | esm/utils/paths.js | 1373 | function getClosestProgressOnBezier(iterations, px, py, start, end, slices, x0, y0, x1, y1, x2, y2, x3, y3) { |
| LOW | src/utils/paths.js | 905 | export function segmentToDistributedPoints(segment, totalPoints) { |
| LOW | src/utils/paths.js | 1108 | function getClosestProgressOnBezier(iterations, px, py, start, end, slices, x0, y0, x1, y1, x2, y2, x3, y3) { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | esm/ScrollToPlugin.js | 215 | //note: iOS has a bug that throws off the scroll by several pixels, so we need to check if it's within 7 pixels of |
| LOW | src/ScrollToPlugin.js | 139 | //note: iOS has a bug that throws off the scroll by several pixels, so we need to check if it's within 7 pixels of th |