Stuchlik: Does this work in here :airplane:
Coffill: And, for things you want to know frequently, with writing visualization code
Stuchlik: Tcsc: ‘the debugger’ – is that the in browser one?
Stuchlik: Right, yeah I definitely should. I only realised some of the stuff built into chrome the other day, there’s emulators and everything in there
Curley: You can click on a line number in it and it will stop next time that line gets hit.
Hibma: I discovered debugger; yesterday
Synan: Or, yeah, you can do debugger; and it will open the debugger.
Arslan: Really nice, i’m using it instead of console.log now
Prizio: Most of my app is in webview pages fetch from a webserver. Is there a web framework etc that gives similar or even better UI experience like android native UI?
Epperson: Voyage: probably react native when it finally comes out
Papaioannou: Nucleartide, ‘react native’ whats that?
Mccollin: Voyage: it’s react for iOS and android
Culpit: But there’s no android yet
Huro: Nucleartide, I need a framework / lib for websites by which I can make a website that loads in a webview of an android app but still being a webpage looks like a native mobile app or even better. Are there any prebuild things?
Stuchlik: A ‘return’ within an if condition will exit the whole function rather than just the if
Stuchlik: Bit of a sanity check there
Whiley: I need a framework / lib for websites by which I can make a website that loads in a webview of an android app but still being a webpage looks like a native mobile app or even better. Are there any prebuild things that has menus, buttons, layouts etc that fits mobile screens and tabs?
Stuchlik: Yeah I’m pretty sure it does.
Starwalt: It returns the function
Cecchi: But in the case of an argument to something like forEach it basically means continue
Vandonsel: Like, skip this iteration
Stuchlik: Yeah cool – but in an if it will exit the functino
Stuchlik: Var unitDx = dx * invDistance; — invDistance is the reciprocal of the distance, dist = 4 invDistance = 1/4. I’m not sure what unitDx is needed for here though, I mean – isn’t that just going to give ‘1’ ?
Stuchlik: Uh, unless dx is negative and it needs to be -1 I guess
Southers: Dist is Math.sqrtdx*dx+dy*dy
Mccaffrey: It’s the length of the dx, dy vector
Harradon: All that code does, is create a vector unitDx, unitDy, which points in the same direction as dx, dy but has a length of one
Applen: That’s a process called normalizing
Hassan: Anyone here uses Marionette?
Robers: Anyone use vorlon.js?
Mammo: What tool is recommended to download/manage js/css files?
Clavijo: My motivation at the moment is to download jquery-ui rather than using a CDN link.
Wernert: Go to jquery-ui.com and click download
Robbert: Wernert, does that cover the necessary css?
Hustus: I do have npm and bower installed, but I wanted to know what was recommended
Wernert: It’d be pretty stupid if it didn’t, but i don’t know
Wernert: I wouldn’t recommend bower to wipe my own *** with
Valladao: Wernert: Yeah, I didn’t like the search results that I got with Bower.
Wernert: Eh, i think it’s all crap and i basically just do it myself with Mojolicious::Plugin::***etPack
Schmerer: Emaczen: You could use bower to manage your CSS, if you want. It’s usually pretty bad at any language whose tooling requires some structure, though, so it’s a very bad choice for JS. npm is already there for JS anyway.
Ayersman: Emaczen: the download link will have the css
Homeyer: In general, it doesn’t make sense to use a package manager for CSS.
Stuchlik: Anyone know if its possible to make the firefox firebug dark instead of light syntax highlighting?