CORS related errors when getting Channel API client script

Issue I’m currently experimenting with a Google App Engine/Go + Polymer.dart website at http://xclamm.appspot.com/. The problem is that I get the following error when I access http://xclamm.appspot.com/ with Dartium (31.0.1612.0 Developer Build 219647). XMLHttpRequest cannot load https://talkgadget.google.com/talkgadget/channel.js. No ‘Access-Control-Allow-Origin’ header

Continue reading

Dart Polymer application as component?

Issue The docs at https://www.dartlang.org/polymer-dart/upgrading-to-polymer-from-web-ui.html state the following: We recommend creating a component for your “application” HTML page. Polymer believes that everything is a component. What exactly does this mean? Is the complete index HTML page a component that is

Continue reading

Setting hardcoded value in bound attribute

Issue I have a component with a “label” attribute and since this label will not change, I want to specify it when I declare the component: <parking-list label=”PARKINGS” parkings=”{{parkings}}” on-showparking=”parkingList_showParkingHandler”></parking-list> <parking-list label=”SHOP AND GO” parkings=”{{shopAndGoParkings}}” on-showparking=”parkingList_showParkingHandler”></parking-list> The label value is

Continue reading