Loading ...
Sorry, an error occurred while loading the content.

1497Re: [jslint] Re: RE:09-16-2010 version has bug

Expand Messages
  • Frederik Dohr
    Sep 18, 2010
      > use class constructor names that start with lowercase? I'm wanting
      > to maintain as close to strict as I can, however I have no control
      > over whether we use the 3rd party API

      You might be able to create a local alias for the API's constructors:

      (function() {

      var Foo = lib.foo;

      var instance = new Foo();


      -- F.
    • Show all 9 messages in this topic