Knill: It’s a scoping issue, but I think it has an exact name in javascript
Rowe: Impaloo, yeah i spose
Hallet: I can’t remember how to fix it.
Allbones: Usually I use “this”, but it’s a bit trickier this time.
Klomp: Horita: I mean you can target a specific branch as a dependency, but that would be unstable af
Besong: Generally you’d want to target tags
Mate: Ankr: If something is only being applied to the ‘last’ one of many, you might have a scoping problem. e.g.: in for i=0; i5; ++i {doXfunction{ doYi; };} doY’ might only receive 5 as a value. You can solve this using closures, so see !closures. For more info see http://www.mennovanslooten.nl/blog/post/62/
Autry: And since semver dictates that only major patches can introduce breaking changes there is no point to have dev branches targeting anything lower than major releases
Stagner: Folks, is window.location.* supported in most browsers/small devices?
Mate: Horita: Window.location – Web API Interfaces MDN https://developer.mozilla.org/en-US/docs/Web/API/Window/location
Wilcoxen: I’ll put that command in my notes. Thanks a lot
Tacey: I’m interested in properties under it like port and protocol
Weisholz: I don’t know about .* though, that’s not really JS as far as I think I understand JS. window.location would be an object with existing properties. if you need the whole object, window.location is it
Sobieski: Try console.logwindow.location
Darcus: Oh, * = just substituted it
Alconcel: Not sure if it’s in windows phone
Vilcan: I think you have to do windows.location.href or windows.location.replace on a windows phone
Rookard: To do redirecting. but it does have a windows.location object
Macvicar: Hello, is it possible to do this system : http://m-audio.com/support/drivers with AJAX and JSON? witch is the best way?
Woelfel: Although ‘$’ has been escaped as $, the regexp is not working as expected/do***ented: https://jsfiddle.net/nqo2yhre/
Woelfel: What can be the reason? :O
Woelfel: Replacing the same with the same will result in the same – but not with $
Gainey: Https://jsfiddle.net/progysm/nqo2yhre/1/
Gremer: Woelfel, https://jsfiddle.net/z1s0xj49/
Wolansky: Https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String/replace#Description : $$ Inserts a “$”.
Darr: Also: https://jsfiddle.net/z1s0xj49/1/
Mate: Yansanmo: string ‘$$$ $$$’
Brazile: I have a CSS rule for .foo { display: none; } Then, in JavaScript, I set .style.display = ‘block’; Once it’s been shown, it never stops being shown. How can I make it disappear again whenever no .foo is being hovered?
Kalkman: We spent all that time yesterday talking about vim clipboard support over ssh and I finally made it work with this pbcopy tip: http://seancoates.com/blogs/remote-pbcopy
Woelfel: Samssh: https://jsfiddle.net/z1s0xj49/2/
Woelfel: Samssh: Input: $$$, Regexp: $$$, Replace: $$$, Expected: $$$
Bohon: When it hovers, it should be shown. Not hidden.
Younkins: That’s done in JS because CSS is awful
Kalkman: Woelfel: regexp replace has $ syntax in the replacement arg
Kalkman: Woelfel: so it’s probably picking up your $$ as an attempt at a named group
Woelfel: Kalkman: so $ cannot be even escaped using , I have to use a special escape for $ ?
Kalkman: Not sure, let’s read the docs
Mate: Kalkman: String.prototype.replace – JavaScript MDN https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace
Kalkman: Woelfel: looks like $$ is the escape for $: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace#Specifying_a_string_as_a_parameter
Oxley: Yansanmo: Can you help?