face08 / bulk-loader

Automatically exported from code.google.com/p/bulk-loader
0 stars 0 forks source link

implement getOrCreateByName(name) method #83

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
if would be nice to have a method to retrieve or create a new loader by name. 
something like:

var bulkloader:BulkLoader = BulkLoader.getOrCreateByName('name');

Original issue reported on code.google.com by walkan...@gmail.com on 27 Mar 2009 at 10:58

GoogleCodeExporter commented 8 years ago
Hi Andre.

Thanks for the suggestion. While I can see the convinience, I am trying not to 
increase bulkloader's size 
anymore, unless it's really needed, and this is basically a one liner:
var bl : BullkLoder = BulkLoder.getLoader(name) || new BulkLoader(name);

Cheers
Arthur Debert

Original comment by debert on 27 Apr 2009 at 2:20