premasagar / pablo

Pablo is a lightweight, expressive JavaScript SVG library. Pablo creates interactive drawings with SVG (Scalable Vector Graphics), giving access to all of SVG's granularity and power.
https://pablojs.com
MIT License
413 stars 16 forks source link

Pablo().processList on Pablo not Pablo() #52

Closed AaronAcerboni closed 11 years ago

AaronAcerboni commented 11 years ago

If processList is intended to be exposed I would suggest making it accessible via Pablo not Pablo()

So Pablo.processList instead of Pablo().processList unless there is some relation between the collection and the method?

premasagar commented 11 years ago

processList references the collection instance, so it is on the collection. It may well be more sane for it to be a private function in the codebase and not exposed.