Closed p3k closed 5 years ago
Can I have a code sample for poking purposes? If it can't fit in a jsFiddle, a repo would be fine as well.
hi @fskreuz – sorry not being able to provide a test case in either way.
however, i gave a try patching the p
property with q
in the respective line 862 in dist/rvc.js and so far everything works again:
862c862
< var contentStart = source.indexOf('>', scriptItem.p[2]) + 1;
---
> var contentStart = source.indexOf('>', scriptItem.q[2]) + 1;
as this seems to be coming from rcu.js i checked this repo and it seems the change in ractive 0.10 is already reflected there.
rcu.js is currently at version 0.11.1, rvc.js 0.5.0 depends on version 0.10.3.
i bumped the rcu version in rvc’s package.json for a test spin, rebuilt and also with the resulting dist file the issue does not occur anymore.
28c28
< "rcu": "^0.10.3",
---
> "rcu": "^0.11",
would that be enough information to fix the issue?
bump
That sounds like it should be enough to fix the issue. If you'd like, I can add you as a maintainer so you aren't stuck waiting on us to get things fixed.
ok, that sounds interesting. however, i would like to be sure some other folks verify and review before i commit any nonsense… what’s the workflow here?
I'm not particularly familiar with rvc/rcu, but I know the ractive/parser side pretty well. For other sub-projects, we still do PRs with review requests any time the submitter wants a review or other feedback, and I think that would work pretty well here too.
ok, so let’s try it 😺
@p3k Hi! Sorry, been swamped lately. So yes, that bug is caused by rvc having embedded an older version of rcu. rcu was updated to support the AST adjustment. I have updated rvc edge branch, bumping all outdated dependencies up and rebuilt rvc. Lemme know if it's all good and I can promote it to master and publish to npm.
oh ok, just refetched the edge version and did a test run: looking good from my side, at least regarding this issue 😺
re other changes looks like some caching mechanism was implemented and it’s possible to use ractive mustaches in css now?
@fskreuz edge version works fine. Can you please merge it and publish to npm and bower?
Published in rvc@0.6
I am running rvc 0.5 fine with Ractive 0.9.10 – however, after upgrading to 0.10.0 (and greater) I get the following error when rendering a component:
Is this due to the update of the template format in 0.10?