Jeffress: Anotheryou: oh, i didn’t even see your typo :p
Sheler: Bitemyapp: you could try mapping it to a local file and crossing your fingers that chrome will do something interesting with that
Mcchain: L8D: I tried that yesterday, it doesn’t seem to do anything useful but I’ll try again.
Jesmer: Bitemyapp: did you cross your fingers
Heidebrecht: Http://stackoverflow.com/questions/26514025/chrome-dev-tools-mapping-network-resource-to-local-file-not-working
Delatorre: Bitemyapp: worst-case you could setup nginx or something as a local proxy to the original server, with the custom index.html, and then mess with your DNS config
Schuld: Which would break/defeat-the-purpose-of the SSL stuff
Arnau: L8D: I just need it to _think_ the SSL cert is theirs and working
Turnow: Does MITM with a proxy work locally in the presence of SSL?
Odenheimer: Bitemyapp: I would guess not, but if you’re desperate you could try disabling all the SSL-related flags in chrome and start it with –no-web-security flag or whatever it’s name is
Tippins: If i have #text how can i exclude the # and just have text
Jordahl: If there’s a simple way to do this, I’m not sure you’ll find it in here
Trusso: L8D: I have to test what I’m doing with SSL
Wakley: Django_: string ‘test’
Limle: We don’t really have time to fiddle with this so we’re probably just going to go live and fix in production.
Dano: Web server isn’t ours, requires third party coordination
Schatzberg: Pity chrome doesn’t support this.
Sowders: Can you have multiple do***ent.addEventListener”DOMContentLoaded” .
Gutzmer: You can have multiple of any event callbacks
Gutzmer: Do***ent.addEventListener’my event’, func1; = event_structure = {‘my event’: func1};
Sowders: How do implement a thing that i can attach multiple functions to, and then call it once with data, so that all those functions get called? how do i more-or-less this eventlistener type of thing ?
Gutzmer: CallEvent’my event’; = for event in event_structure’my event’ {event;}
Roske: Where is the proposition for ES6 import statement?
Christon: I want to suggest an adjustment
Terando: Gajus: you can start a thread on es-discuss.
Kupper: There is no way to import multiple properties into an object at the moment, e.g. import {foo, bar} as mother from ‘somewhere’;
Herzberger: Gajus: just send an email to: https://esdiscuss.org/
Lah: Gajus: well, import { a, b } from ‘x’ means create a local binding a that points to module ‘x’.a, and a local binding b that points to module ‘x’.b. ES6 modules are second cl***, there are no objects involved in it at all
Cosden: That’s by design. It’s intentionally limited
Straight: As b always binds the module. Modules aren’t objects, so you can’t really treat them as one
Pierce: I get that. But . the most common use case of import for me to import a subset of a module, ideally, without loosing the namespace, e.g. import _ from ‘lodash’; awesome! import {forEach, map} from ‘lodash’; creates two local variables ‘forEach’, ‘map’ that are lose. To an extent, this can be sorted using alias import {forEach as _forEach, map as _map} from ‘lodash’; But it would be awesome if I could just do import {forEach, map
Criley: So. in traditional languages like c/c++/pascal etc, comping code before delivering to customers did 3 things: it made it unreadable. it made it faster to execute, it attached or linked in needed library files.
Stolz: Gajus: modules are already a kind of namespace. Why would you want to filter it?
Apperson: You do have to use _.forEach in any case
Kakacek: In javascript. obfuscation doesnt improve performance or save compile time or effort onthe part of the customer. but it does protect your code
Otuafi: Stevessss: all of those statements are false.
Kobbe: Also the point of compiling was never to make it unreadable. you haev that backwards. it was the point of the languages being compiled to make the code readable in the first place.