Comments (4)
Looks like all events are being binded to one floor
from elevatorsaga.
No, your iterator is the one that reports '8'. You shouldn't be using 'i'
in the event handler function, try 'this' to get the floor object instead
On Jan 26, 2015 6:25 AM, "Paul" [email protected] wrote:
Looks like all events are being binded to one floor
—
Reply to this email directly or view it on GitHub
#42 (comment).
from elevatorsaga.
You're right, this works. But it looks like strange behaviour for me. Binding event listener isn't async action, is it?
from elevatorsaga.
Duplicate of #27
from elevatorsaga.
Related Issues (20)
- Add a restart button while running elevator HOT 2
- On MS Edge, clicking "Next Challenge" doesn't do anything HOT 2
- Doesn't work on Chromium HOT 1
- Provide a "playground" mode where you can try out for debugging purpose
- Elevator moves while passengers enter the elevator
- Can't select code on Android Chrome
- Allow importing libraries?
- how are we supposed to know how many elevators we have access to? HOT 3
- How to update world (floors,elevators count) without changing challenge?
- Passengers not rehitting button
- Only last configured elevator behaves HOT 2
- Is this repo will be maintend HOT 4
- New levels based on real life
- I don't get this error HOT 2
- Turn off the code auto-formatter HOT 1
- Sharing Website doesn't load a preview-image
- Bug: User doesn't enter the elevator when it stops enroute HOT 1
- TypeScript for the API HOT 2
- Specify which passenger waited too long. HOT 4
- goingUp and goingDown indicators are always true HOT 2
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 elevatorsaga.