zied-ellouze / gears

Automatically exported from code.google.com/p/gears
1 stars 0 forks source link

Request: API cleanup in google.gears.factory #89

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Based on a scour-discuss conversation with Dan Morrill:

On 5/16/07, Chris Prince wrote:
> > google.gears.create() --vs-- google.gears.factory.create()
>
> Yeah, I was thinking about this too.  It does seem much cleaner.
>
> We would need to consider what it means for workers, where the
> containing workerpool is exposed as "google.gears.workerpool".  Now
> "google.gears" is not a factory; it is just a namespace that contains
> create(), a core method.  Does that matter?
>
> > why is getBuildInfo() a function and not a read-only property?
>
> No good reason -- just legacy.  A property would make sense.

Original issue reported on code.google.com by gears.te...@gmail.com on 11 Jun 2007 at 3:53

GoogleCodeExporter commented 9 years ago

Original comment by gears.te...@gmail.com on 27 Jun 2007 at 12:38

GoogleCodeExporter commented 9 years ago

Original comment by othman@gmail.com on 5 Sep 2007 at 7:46