Jacob MacDonald

Results 160 issues of Jacob MacDonald

Had to disable these until https://github.com/dart-lang/test/issues/388 is resolved. Running dart2js on untransformed code is not supported by polymer (specifically, initialize).

blocked

You can do this for methods today with @eventHandler, but the only way to do it for fields is with @property, which makes it a full on polymer property. See...

>=1.0

Today they are not, but they probably should be (or at least I don't see a reason why not). One potential issue, on the JS side they may try to...

>=1.0

See https://github.com/sigmundch/observe_gen for an example. If we are willing to commit to using the source-gen package, then we can potentially get rid of all the `set` boilerplate.

>=1.0

One option for this would be an @DomModule annotation, which could be allowed either on classes or libraries (or both?). This should implement `Initializer`, and have four named arguments, `id`,...

>=1.0

Properties should all have a custom setter, which calls `set("propertyName", value)`. Javascript does this on the fly but in dart we probably need to codegen it. See https://github.com/dart-lang/polymer-dart/issues/520 for a...

>=1.0

see https://github.com/dart-lang/polymer-dart/issues/627

>=1.0

This happens if you forget to call `initPolymer` or your forget to add an entry point in the web_components transformer. Today you would end up with a NoSuchMethod error at...

>=1.0

https://github.com/dart-lang/polymer-dart/blob/bf2e13588d007ea06cfa09e9061fda27ce59ea44/lib/src/common/declarations.dart#L32

enhancement
>=1.0

See comments by @sigmundch here https://codereview.chromium.org/1344263004/patch/20001/30002

>=1.0