In my polymer app, where should I store global values used throughout my app? For instance I have a lot of child elements that use iron ajax to call my api. When I am developing I want to call my local api, but in production I want to call my production api.
<iron-ajax url="dev.example.com/api" ...></iron-ajax> vs <iron-ajax url="www.example.com/api" ...></iron-ajax> Is there a cool polymer way to store a global config file with application constants? 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/a9faa04c-8b6e-4219-ac4f-5bea73a6d4b1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
