pvande / milk Goto Github PK
View Code? Open in Web Editor NEWMilk is Mustache in CoffeeScript -- great with your browser or NodeJS!
Home Page: http://pvande.github.com/Milk
Milk is Mustache in CoffeeScript -- great with your browser or NodeJS!
Home Page: http://pvande.github.com/Milk
Hi,
So when I do
"name": "Tater",
"bolder": function() {
return function(text, render) {
return "<b>" + render(text) + '</b>'
}
}
render says it's false and not a function... any ideas?
Many thanks
When I open the Milk Playground I would expect to find a working example.
Instead there is an error:
SyntaxError: Return statements are only valid inside functions
Permalink for the shown example
According to the spec, any non-whitespace sequence of characters should be usable as a tag name.
As verified in the playground, Milk's parser does not recognize certain valid names. This also indicates a deficiency in the specs; that will be handled separately.
Hi,
I get that error when I run this performance test I made in IE8 http://jsperf.com/jquery-template-table-performance/10
Any ideas?
Many thanks,
CJ
The link on README.md to http://pvande.github.com/Milk/playground.html
is broken since it redirects to http://pvande.net/Milk/playground.html which is not working:
Is Milk
still being actively maintained?
The last commit has been 3 years ago.
This example fails: http://bit.ly/oLz9vH
It can be useful in Views.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.