-
-
Notifications
You must be signed in to change notification settings - Fork 5
Add Resource Module #7
base: master
Are you sure you want to change the base?
Conversation
Fixes: mint-lang/mint#92 |
Thank you for this pull request! 👍 I didn't know that we can pre-fetch resources programmatically like this 🙂 I think it would be nice if we could combine them in some way. I have a few suggestions:
Let me know what you think 😄 |
@gdotdesign That sounds good, I will look into the error handling. |
I think they should return somethings like |
When preloading resources, there does seem to be a way to catch errors, so far only the For example, let's say you provide a invalid So maybe there could be a bool type: |
I think 30 seconds should be fine. |
@@ -1,6 +1,6 @@ | |||
module Html { | |||
/* | |||
Returns an empty Html node. It is useful for example if you dont to | |||
Returns an empty Html node. It is useful for example if you dont want to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Returns an empty Html node. It is useful for example if you dont want to | |
Returns an empty Html node. It is useful for example if you don't want to |
No description provided.