@DeathNote That is part of the reason why you should create a minimal example for your problem, while creating it, you often find the source of the issue or that the issue is something completely different
Hey guys, I stuck on some code. Try to create an area where some parallax is going on. I use `scrollTop()` to get the current scroll position and `offset().top` for each element, so I know when the element is in the view: snippi.com/s/obexl0f More info with a mention at the line I talking about. I doesn't know why this only works for the elements that are inside that invisible area.. Anyone thoughts about this?
You consistently come into the room only to ask your questions. You never stay for more than you absolutely have to to get your answer, and then you leave. You often repeat the question if no one answers. And now, if your question gets downvoted you jump straight to personal accusations.
Right, so I've done a load of googling, all the answers I can find actually open the URL scheme.
What I wish to do is test if a URL scheme (Cydia://) exists on the device, and then report back to a variable. I do not want to actually open the URL.
Thanks.
@Mathematics I haven't checked any of the existing answers, but are you aware that a new child scope is being created and that the controller for your form is accessible from that scope?
You usually don't want to access child scopes from a parent, but you can. Sharing a controller between your dialog and your form seems to be the most obvious solution to solve your problem if you want to avoid parent→child scope access
@Gant Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
ES2015 has official boilerplate for it, for ES5 people seem to like function Constructor() { this.publicMethod = function() {}; var privateMethod = function() {}