Joe Pea

Results 1897 comments of Joe Pea

Ah yeah, I think that would be great and helpful for users trying to learn AssemblyScript!

@ayin86 Hmmm, the last version of AS that I used with `asdom` was `^0.19.5`. Maybe @dcodeIO or @MaxGraey know the error and can suggest the migration path.

Thanks for the analysis @CountBleck! I think it is fine to move forward with support only for the latest AssemblyScript, and providing a note about migration if needed. We don't...

@drBenway Thanks for the ideas, and sorry for the late reply! I'm not clear on how using `data-has` would imply we can drop custom attributes. Either way, regardless of the...

> First of all, thanks for this library. I really love the concept and it is a nice, logical extensions of custom elements. Hey, sorry I am replying so late!...

This needs to run before anything else, because it does some monkey patching to be compatible with ShadowDOM: https://github.com/lume/element-behaviors/blob/main/src/index.ts#L367 This should run before application code: ```html ``` If any application...

Hmmm. :thinking: Got a sample HTML file to reproduce it? The latest version to try with is currently `` Here is a complete HTML file with the script loaded in...

@jon49 By chance are you using `type=module` with the script that isn't working? Maybe that's why. The behaviors need to be registered up front, and using `type=module` will cause the...

Yeah, it should at least be like custom elements where we can define them later, and at the later point they will run on any pre-existing elements. A use case...

Hey Jon, thanks for reporting, and interesting to see someone using this. I've actually made some refactors to this part of the code, about to release those today. Do you...