Comments (4)
Have you tried using a filter for this? Seems like it might work better than wrapping your properties as objects in the template data.
from combyne.
I must say I did not yet.
from combyne.
Although whether or not filters will work as arguments is also a good question. They probably don't :-/
from combyne.
At the moment, you'd have to do this in the business layer. In the future (say version 1.0), I'd expect to see parenthesis added to preserve context. So something like this would be possible:
from combyne.
Related Issues (20)
- Render parent template from a partial, via injecting a named partial. HOT 2
- Allow nested objects for variables. HOT 3
- Call functions *with arguments* from within a template HOT 1
- Investigate elsif terminating remaining output HOT 1
- Extra whitespace is added from previous line if it's an expression
- Order of key val in each… as… HOT 2
- Use variable as argument of a function HOT 12
- combyne (-amd-loader?) not working properly after rjs build HOT 1
- Internal Grammar has some flaws HOT 1
- Add SourceMaps support
- Issue with filter arguments HOT 3
- Thinking about a 1.0 release HOT 2
- More flexible template inheritance
- Achieve 100% test coverage HOT 1
- Make a public-facing website HOT 1
- Does combyne support webpack? HOT 2
- Remove bower postinstall hook HOT 2
- how to use "<" and ">" character in generated code HOT 2
- FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory HOT 4
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 combyne.