Instruction on how to use this in browser
See original GitHub issueThis my be considered an issue from perspective of someone who is not nodejs ninja and don’t have intentions on using this polyfill in non-browser environment .
What should one do to have browser code built from this? From what I can see&understand this is for node use.
I have cloned this version locally, and run npm install - which gave me performance-now
.
But still I don’t get this.
I do care specifically about this polyfill since it is only one I could find that implements callback queueing - fantastic job.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Internet Basics: Using a Web Browser - GCFGlobal
Using a web browser is vital for doing various things online. Understand how to use a web browser in this free lesson.
Read more >Activate JavaScript in your browser - Google AdSense Help
Activate JavaScript in Google Chrome · Open Chrome on your computer. · Click More and then Settings. · Click Security and Privacy. ·...
Read more >How To Use Google Chrome - Step By Step Tutorial - YouTube
How To Use Google Chrome - Tips And TricksIf you are new to Chrome, you should pay close a... ... Your browser can't...
Read more >Web Browser Instructions
drop-down menu will appear. Select Find. A search window will appear on the upper right of the browser window. Enter the VIN and...
Read more >How to enable JavaScript in your browser and why
Internet Explorer. On web browser menu click "Tools" icon and select "Internet Options". In the "Internet Options" window select the "Security" tab. On...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
When loading the library via a
<script>
tag the API is available onwindow.raf
. To automatically polyfillwindow.requestAnimationFrame
andwindow.cancelAnimationFrame
you can invokewindow.raf.polyfill()
. This is documented here.I added these instructions to the README. Thanks for bringing this up @milosdjakonovic!