(IntersectionObserver is a web api which needs the current typedefs to recognize)
> On Mar 9, 2024, at 11:28 PM, Harbs <harbs.li...@gmail.com> wrote: > > Make sure your royale-typedefs repo is up to date. > > Harbs > >> On Mar 9, 2024, at 10:42 PM, Hugo Ferreira <hferreira...@gmail.com> wrote: >> >> Hi, >> >> For months that I can't build the all framework with ant -all >> I get the following error: >> >> [java] >> /Volumes/Data/SDK/apache-royale-src/apache-royale/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/InfiniteScroller.as(147): >> col: 20 Error: Call to a possibly undefined method IntersectionObserver. >> >> [java] >> >> [java] observer = new IntersectionObserver(handleItemIntersection, { >> >> [java] ^ >> >> [java] >> >> [java] >> /Volumes/Data/SDK/apache-royale-src/apache-royale/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/InfiniteScroller.as(147): >> col: 20 Call to a possibly undefined method IntersectionObserver. >> >> [java] >> >> [java] observer = new IntersectionObserver(handleItemIntersection, { >> >> [java] ^ >> >> [java] >> >> [java] 4.010328448 seconds >> >> [java] Java Result: 2 >> >> >> If I comment out the //observer = new >> IntersectionObserver(handleItemIntersection ... from the InfiniteScroller.as >> it compiles again. >> >> There is no IntersectionObserver.as in the source and this is the reason >> ant fails. >