Spark v1.7

Rating: No reviews yet
Downloads: 2118
Released: Sep 9, 2012
Updated: Sep 9, 2012 by RobertGreyling
Dev status: Stable Help Icon

Recommended Download

Application Spark-1.7.3.0 - MVC3 (.NET 4)
application, 17088K, uploaded Sep 9, 2012 - 1737 downloads

Other Available Downloads

Application Spark-1.7.3.0 - MVC2 (.NET 4)
application, 17046K, uploaded Sep 9, 2012 - 152 downloads
Application Spark-1.7.3.0 - MVC2 (.NET 3.5)
application, 17045K, uploaded Sep 9, 2012 - 229 downloads

Release Notes

Release Notes v1.7

It's time for another minor release bump in Spark as we begin to support a different kind of syntax called Jade. You can read up more about Jade at http://jade-lang.com/

To start using it, simply add a reference to Spark and start adding *.shade files to your project and as long as Spark is registered as a view engine, then it should automatically attempt Jade parsing to HTML. That of course, means that you can mix and match .spark and .shade files and the parser will work just fine with both of them. You can even create .shade partials that can be consumed by .spark views.

It should be noted that this is only the provisional support and point releases will be made as an when bugs are discovered to work out the kinks. If you find any issues, please don't hesitate to raise them on github preferably

This feature is very new, but for now you can see an example of Jade syntax usage in these places:

Fixes included in v1.7.3 release:
  • Add IsOdd and IsEven to loop auto variables
  • Fix missing whitespace when using bindings
  • Implement optional attributes in bindings

Fixes included in v1.7.2 release:
  • Added support for the new "unless" conditional. If you're used to Ruby then you'll know about it, but if not, then simply consider it like an equivalent of "if not". This can be used as both an attribute on any node or as the node itself with a condition="foo" attribute to wrap any other nodes
  • Added support for .shade file location in MS MVC projects using default conventions.

Other fixes since the v1.6 release include:
  • JS compiler bug for toString() occasionally invoked on null and adding ~ to JS view paths
  • Bug fix for Area support in finding layouts

Reviews for this release

No reviews yet for this release.