question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Loader Improvements

See original GitHub issue

I’m taking a crack at improving some of the loaders, making them a little more consistent in their usage, and then writing out the docs. I’ll post anything I need feedback on here.

First thing:

THREE.Loader has an addStatusElement method, which creates a DOM element that says “Loading …”. It doesn’t add it to the DOM, update it, or do anything with it. I was thinking about removing that method as it doesn’t appear to do anything, and is not used in the examples.

It seems that if there is any DOM loading interface it should go in THREE.LoadingManager. In fact maybe a visual interface should be a separate class that is only in the examples.

So my proposal is to remove that functionality, and if it gets put back in, put it into the examples. Thoughts?

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:17 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
donmccurdycommented, Dec 27, 2017

THREE.Loader no longer has any DOM/status management code, so I think this issue can be closed? If we want to do anything different with promises vs callbacks that could be opened in a new issue.

1reaction
satori99commented, Oct 3, 2017

Hi all, One thing that springs to my mind regarding Promises, is that they allow for ES6 async / await style coding, which can help to simplify highly asynchronous code in many cases.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CASE G Series Wheel Loader Enhancements
Comprehensive enhancements to the entire line of G Series wheel loaders improve performance and productivity, increase uptime and provide ...
Read more >
North America: CASE Introduces PowerBoost ... - YouTube
CASE Construction Equipment has introduced numerous enhancements available throughout its N Series line of backhoe loaders, including new ...
Read more >
Bobcat Skid-steer and Tracked Loaders improvements
To find out more about Bobcat loaders, visit: https://www.bobcat.com/eu/ loaders /features.
Read more >
North America: CASE G Series Wheel Loader Enhancements
CASE introduces comprehensive enhancements to its entire line of G Series wheel loaders to improve performance and productivity, ...
Read more >
Hydraulic Improvements Achieved in Wheel Loader ...
Danfoss Editron's conversion of a wheel loader to electric power enabled efficiency gains within the hydraulics system.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found