-
Notifications
You must be signed in to change notification settings - Fork 130
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
Using a tmpl selector that begins with a # but is not an ID selector does not work #455
Comments
Thanks for calling this out, Lee. I have a fix, which I will share with you in the coming days... |
You can test my proposed fix, using this updated version of jsviews.js: It has line 1125: Let me know if this works for you. |
Thanks yeah that seems to do the trick. |
To explain this issue: The JSFiddle linked above includes the line: It loads the template under the script element with class The selector The issue is with JsRender as well as with JsViews (which uses JsRender) |
This update contains a minor bug fix: BorisMoore/jsviews#455: "Using a tmpl selector that begins with a # but is not an ID selector does not work". This change applies to jsrender and jsviews The update also includes some minor documentation updates, and moves to the latest versions of JQuery and JQuery UI, for all samples, examples, and test pages. Sync with other changes in v1.0.13 for JsViews
This update contains a minor bug fix: #455: "Using a tmpl selector that begins with a # but is not an ID selector does not work". This change applies to jsrender and jsviews The update also includes some minor documentation updates, and moves to the latest versions of JQuery and JQuery UI, for all samples, examples, and test pages. Sync with other changes in v1.0.13 for JsViews
Resolved in release v1.0.13 |
Please see the following JSFiddle:
https://jsfiddle.net/p5urz4ey/
This works fine if you change the version to 1.0.10.
The text was updated successfully, but these errors were encountered: