Also, web components might not be a good fit for your use case. As Karl said, there's nothing wrong with vanilla JS to define functions / globals.
On Sun, Feb 14, 2016 at 12:23 PM Karl Tiedt <[email protected]> wrote: > It's just JavaScript... No special consideration required if you feel you > must use globals. > On Feb 14, 2016 12:03, "Pedro Nicolás Cuadra Guamán" < > [email protected]> wrote: > >> Hello again Polymer, team. I'm looking for a way to make globals, is to >> say, variables or functions, because I dont want to make a huge web >> component that contains theese globals. >> >> 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/CABUE4gibJBLCk2igb9hcrJ1D2nT4H5iDuRdk9FcFSS1Pc6RE0g%40mail.gmail.com >> <https://groups.google.com/d/msgid/polymer-dev/CABUE4gibJBLCk2igb9hcrJ1D2nT4H5iDuRdk9FcFSS1Pc6RE0g%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > 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/CADNgbTHRBLeWWgYedSC2t%2BdT78K3EySHDQQVX8y6pS3Hcwi9xw%40mail.gmail.com > <https://groups.google.com/d/msgid/polymer-dev/CADNgbTHRBLeWWgYedSC2t%2BdT78K3EySHDQQVX8y6pS3Hcwi9xw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > 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/CACGqRCDJ6FZFb4F-jLcUq8e0LKv6f71cHJtJYE%3Doi8dFjpH3Cg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
