-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get any tests to work...many missing files, etc. #31
Comments
Clearly I need to go through and clean up the testing area. This directory has seen a lot of experimental tests that have not been maintained, and I have been working on (slowly) moving xstyle's testing to use intern. And of course, as you can see there is definitely a lot of experimentation that has happened. Currently the intern tests should be passing, but I haven't maintained the tests outside of the intern tests. Indeed I will work on moving these tests to intern or deleting them. If you need any help with setting up the intern tests, let me know. I have been using intern in sibling package mode, which differs from the typical child package mode. |
Switching to the https://github.com/SitePen/xstyle repository allowed me to study working tests enough to get module() working. I believe I should start with dgrid to get oriented with intern, but yes, I would like help setting up xstyle tests. |
I've become comfortable with the intern and have written some simple xstyle tests. I would really like a pointer to your intern tests for xstyle. I'm presently trying to understand the implications of this comment:
I was hoping as long as xstyle/main is loaded we could load a stylesheet via the plugin and it would trigger parsing. How is this accomplished? elemental.update() seems to do the trick. |
You should be able to use |
Okay, so when loading xstyled css after the document is ready it's necessary use the xstyle/main! plugin? I've found that if xstyle/main is already loaded it doesn't work. Here's code which delays loading the xstyled css and further delays creation of a node to be xstyled:
I guess elemental.update() is the postCreate() or startup() of xstyle controls. |
I am having a difficult time reproducing this exact issue. I am seeing an issue, but it is related to double loading and rendering, which I will fix. I would describe elemental.update as more analagous to the parser.parse(node) of xstyle, I think. |
Using
Errors
The xstyle design is a beautiful thing but critical functionality seems broken and these tests are not helping to dissuade me.
The text was updated successfully, but these errors were encountered: