Comments (2)
Another thing I noticed is that here
Line 54 in f50e735
this.dependencies
is an iterable of promises. However, even though this.dependencies
is an iterable (an array), its elements are not promisesโthey are objects whose properties are promises:Lines 19 to 41 in f50e735
Does Promise.allSettled()
work in this case?
from inspire.js.
If we fix the code so that this.dependencies
will be an array of promises, the code execution will freeze on this lineโthe promise corresponding to the live-demo
plugin will never be resolved because on this line:
inspire.js/plugins/live-demo/plugin.js
Line 126 in f50e735
The plugin awaits slideshowCreated
to be resolved. However, it happens in init()
which is called in setup()
Line 62 in f50e735
after all the plugins should be loaded (and the corresponding promises should be resolved):
This is the line where the slideshowCreated
resolves:
Line 295 in f50e735
I submitted a PR with a possible fix: #162
@LeaVerou, could you please take a look?
from inspire.js.
Related Issues (20)
- slideshow doesn't start on firefox 3.6.22 HOT 3
- nested "delayed" class
- While switching slides, a clipped slide is visible in top-left corner for a moment. HOT 6
- next/previous don't propagate to projector HOT 1
- Dependency on PrefixFree HOT 12
- proper scaling (images too) HOT 1
- Slide Tiles don't work
- Can't navigate in mobile browser HOT 8
- Workflow to quicken development of themes? HOT 2
- Slides with scrollbars are not keyboard accessible
- "Specify a selector with the data-subject attribute"
- Broken link from lea.verou.me
- Broken link for CSSS at your projects list
- Video slide layout overflow HOT 2
- Mobile Safari in iPhone 13 Pro crashes upon loading sometimes HOT 1
- [live-demo] "Open in CodePen" does not take append/prepend into account
- How to run completely locally HOT 2
- Not clear on how to use `data-steps` attribute on a slide HOT 5
- Investigate the Presentation API
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inspire.js.