I have a index file with iron pages and one of the pages has an iron list with my self made element.
The self made element has a javascript function attached to an event. I have two options - (a) include the function in the index file or another external js file and call it in the element or (b) have the function as part of my element script. Which option is more optimal given the element is in a list that will be paginated through many times. I suspect in option b I have the same thing repeated many times and option a I have to concern my self with global variables. Any pointers are appreciated. Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/9a550213-2122-4e3b-895d-2d7f19ca8209%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
