Comments (3)
Seems like the code always ignored the /if tag when "if" evaluates to false.
While thinking about how to fix this, I realized that it is easier to first determine all the containerless if,foreach blocks before starting to evaluate them.
So I refactored the code and fixed this issue in fb08069.
from htmlizer.
BTW I also fixed two bugs with ifnot binding (f782a87 and dadcb3f). You can use ifnot here if you wish.
from htmlizer.
Ok, I'll check it out tomorrow. Welcome back btw.
On Saturday, April 26, 2014, Munawwar [email protected] wrote:
BTW I also fixed two bugs with ifnot binding (f782a87f782a87603and
dadcb3f dadcb3f6d23). You
can use ifnot here if you wish.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-41469310
.
from htmlizer.
Related Issues (18)
- TODO List HOT 1
- DOCTYPE lost when the template is a complete document HOT 14
- Quotes in attribute values not entitified HOT 1
- Update tests HOT 3
- data-i18n in development HOT 9
- Allow special data-bind binding in no conflict mode HOT 2
- Add an option to persist data-bind attributes HOT 9
- add support for nodejs 4.0 HOT 2
- Update jsdom in htmlizer 0.x HOT 7
- Template expression not rendering, if its name is a variable HOT 3
- Preserve unrecognized data binding HOT 1
- More container-less bindings? HOT 2
- Containerless foreach changes HTML nodes
- Keep script tags
- Prefix for containerless bindings HOT 1
- <script> contents are being escaped HOT 1
- version bump HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from htmlizer.