Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #17933

Re: Source code "objectifying" technique?

From JJ <jaejunks@nah.meh>
Newsgroups comp.lang.javascript
Subject Re: Source code "objectifying" technique?
Date 2013-01-04 02:00 +0000
Organization A noiseless patient Spider
Message-ID <XnsA13E5C583F660jj@0.0.0.55> (permalink)
References <XnsA13DB38A51C6jj@0.0.0.55> <kc4ir7$bh7$1@news.albasani.net> <XnsA13E219E61C5Ejj@0.0.0.55> <kc52d9$dau$1@news.albasani.net>

Show all headers | View raw


Stefan Weiss <krewecherl@gmail.com> wrote:
> Bound as in Function.prototype.bind? Maybe. Off the top of my head, I
> can't think of how that would cause problems, if what the functions are
> bound to is also in the scope of the anonymous closure.
> I was thinking more of libraries directly setting properties on the
> global object, or missing variable declarations.

Yes, including "call" and "apply". OK. Maybe I'm just too worried.

> Conversion #1[edited] has the potential to cause problems in JScript, 
because of
> the braindead way IE handles named function expressions:
> 
> http://kangax.github.com/nfe/#jscript-bugs

Didn't know that, and that it can cause many problems. I'll keep that for 
reference, thanks.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Source code "objectifying" technique? JJ <jaejunks@nah.meh> - 2013-01-03 10:34 +0000
  Re: Source code "objectifying" technique? Stefan Weiss <krewecherl@gmail.com> - 2013-01-03 19:32 +0100
    Re: Source code "objectifying" technique? JJ <jaejunks@nah.meh> - 2013-01-03 20:13 +0000
      Re: Source code "objectifying" technique? Stefan Weiss <krewecherl@gmail.com> - 2013-01-03 23:57 +0100
        Re: Source code "objectifying" technique? Stefan Weiss <krewecherl@gmail.com> - 2013-01-04 00:44 +0100
        Re: Source code "objectifying" technique? JJ <jaejunks@nah.meh> - 2013-01-04 02:00 +0000
  Re: Source code "objectifying" technique? Scott Sauyet <scott.sauyet@gmail.com> - 2013-01-03 10:37 -0800
    Re: Source code "objectifying" technique? Scott Sauyet <scott.sauyet@gmail.com> - 2013-01-03 10:43 -0800
    Re: Source code "objectifying" technique? JJ <jaejunks@nah.meh> - 2013-01-03 20:33 +0000
      Re: Source code "objectifying" technique? Scott Sauyet <scott.sauyet@gmail.com> - 2013-01-03 13:09 -0800
        Re: Source code "objectifying" technique? JJ <jaejunks@nah.meh> - 2013-01-04 02:33 +0000

csiph-web