Eland: Why? I though that when a undeclared variable is found, JS search in first available scope this and then goes up the chain
Mesdaq: But somehow, it doesn’t link ‘context’ to ‘this.context’
Mate: Gillice: ReferenceError: test is not defined
Hizkiya: I wish that returned false :
Mate: Gillice: ReferenceError: test is not defined
Stitt: Var test = {‘hello’: ‘world’}; test.world ? true : false;
Mate: Gillice: boolean false
Wiggens: Var test = {‘hello’: ‘world’}; !test.world;
Mate: Gillice: boolean false
Walkup: Iftest { console.log’:’, ‘:’; }
Mate: Gillice: ReferenceError: test is not defined
Averill: Gillice: what were you trying to do?
Fallone: Is the “=” operator an es6 think? i’ve seen it in functions but don’t know what it does here: “return next = action =”
Balock: Var test; if test { console.log’:’, ‘:’; }
Palys: Stickperson: yes, the ‘x = y’ syntax is a feature of ES6
Shelkoff: L8D: what is it doing in this bit of code? https://github.com/gaearon/redux-thunk/blob/master/src/index.js
Madu: Stickperson: next = action = . is the same as writing: functionnext { return functionaction { return .; }; }
Larimore: Can someone help me figure out what I need to change to be able to call a method in baseCl*** from *another* method in baseCl***? https://jsfiddle.net/rpaxjqak/
Somilleda: Stickperson: although I think using that syntax in that case was a bad idea. The code gets a little hard to follow
Voracek: L8D: I was imagining it would allow to try if a variable exist
Laigo: But apparently that only works for object properties
Mate: Gillice: ReferenceError: test is not defined
Lemming: Stickperson: you don’t want to use prototypal inheritance?
Azapinto: L8D: agreed. so when you see “=”, it’s an anonymous function with whatever the words are “next” and “action” as parameters
Guger: L8D: not my code. just tryng to understand someone else’s
Criscione: Stickperson: well if it’s just a single variable name, that’ll be the first parameter, otherwise you need parenthases for multiple parameters
Eady: L8D: error /usr/lib/node_modules/babel/node_modules/babel-core/lib/babel/transformation/fil . https://git.io/vnUsN
Frakes: L8D: gotcha. do you know where “next” and “action” come from in that code?
Gaschke: Stickperson: with the next = action = . it’s returning a functio from a function
Kuras: Stickperson: so ‘next’ and ‘action’ are arguments, but they’re for two different functions
Eckart: L8D: yup, that part makes sense
Pinyan: Stickperson: just like writing: functionnext { return functionaction { return .; }; }
Igoe: What are some bigger open source projects that I could contribute to that use JS as their main language?
Grundy: R0x0rZ: https://github.com/rackt/react-router
Zucconi: L8D: will check it out thanks
Jacks: L8D: thanks for the help
Bogaert: Did anybody get a chance to look at my fiddle? https://jsfiddle.net/rpaxjqak/ – been stuck at it for hours. I would like for methods in baseCl*** to be able to call each other, just can’t figure out how.
Shandro: Hey there. I need to apply a -ms-behavior in ie8 from a cross origin domain. I’ve figured out how to get the contents of the .htc file using XDomainRequest – is there a way to apply this as a data uri?
Pevsner: Jimminimy: get a Blob and p*** it to Object.createURL
Handlin: URL.createForObject? something like that
Majkut: What do you think about using node.js and postgres? Is there some production ready ORM?
Plaster: Deltab: i need to do this in ie 8
Mate: Stiang: If a function call is of the form a.b, this will be the object you accessed the “b” property from. Otherwise, if it’s of the form a, this will be undefined, which is turned into the global object if the function wasn’t defined in strict mode. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/this http://javascriptweblog.----escape_autolink_uri:a03ded6cd97ffffa8f7b4e1454f3eecc----.com/2010/08/30/understanding-javascripts-this/