I was wondering why bracket access was not working. I should have opened my eyes.
I am surprised that both kinds of bracket access works though. You learn something new all the time. ;-) Either way, camel case “feels” more correct, but whatever… Harbs > On Jul 14, 2017, at 1:46 AM, Harbs <harbs.li...@gmail.com> wrote: > > Yes. You are right. > https://jsfiddle.net/Harbs/9c8zezx5/1/ > <https://jsfiddle.net/Harbs/9c8zezx5/1/> > > I’m not sure how I missed that. > > My bad… > >> On Jul 14, 2017, at 1:38 AM, Greg Dove <greg.d...@gmail.com >> <mailto:greg.d...@gmail.com>> wrote: >> >> Harbs I think that jsfiddle is not working because of the missing quotes in >> the bracket access. >> >> There are a bunch of uses of the bracket access throughout the framework, >> including, iirc, some things like ['flex-basis'] etc. >> >> imo, I agree these should be using the javascript camel case properties, >> but perhaps we need to do a sweep through all the code for that. >> >> >> >> >> >> On Fri, Jul 14, 2017 at 10:11 AM, Harbs <harbs.li...@gmail.com >> <mailto:harbs.li...@gmail.com>> wrote: >> >>> I’m not understanding. What worked and what didn’t? >>> >>> In this fiddle: https://jsfiddle.net/Harbs/9c8zezx5/ >>> <https://jsfiddle.net/Harbs/9c8zezx5/> < >>> https://jsfiddle.net/Harbs/9c8zezx5/ <https://jsfiddle.net/Harbs/9c8zezx5/>> >>> >>> You should get an alert when clicking on every div except div1 (the top >>> left one). Are you seeing something different? >>> >>>> On Jul 14, 2017, at 12:52 AM, Justin Mclean <jus...@classsoftware.com >>>> <mailto:jus...@classsoftware.com>> >>> wrote: >>>> >>>> Hi, >>>> >>>>> IIRC, style["pointer-events"] works in some browsers but not all. >>>> >>>> I tests on Firefox, Safari and Chrome on OSX and in all cases this >>> failed to work: >>>> >>>> style.pointerEvents = "none”; >>>> >>>> and the other two styles did work. >>>> >>>> Perhaps it’s different on windows? >>>> >>>> Thanks, >>>> Justin >>> >>> >