Skip to content

Spark/Meteor: Support for "constant" and "preserve" regions #104

bminer opened this Issue Nov 28, 2012 · 1 comment

1 participant

bminer commented Nov 28, 2012

Support is coming soon!

@bminer bminer was assigned Nov 28, 2012
bminer commented Dec 19, 2012

"constant" keyword marks a Landmark. Anything underneath of it is preserved and evaluated once.

"preserve" keyword may be followed by JavaScript code, which is the argument passed to the "preserve" property of a Template/Landmark.

@bminer bminer added a commit that closed this issue Jan 2, 2013
@bminer Added "preserve" block (closes #104)
Added sane branch label for constant block
Compiler now always exposes filename via buf.filename
runtime: modified info.eventHandlers to match Meteor's event map specification
runtime: Updated blade.LiveUpdate object with sane no-op functions
Live UI plugin:
	- major re-work
	- now depends on Spark standalone package (see
	- Removed blade.Runtime.render(...)
	- Removed Context code (this is a part of Spark)
	- Landmarks have preservation enabled by default using preserve-inputs package (see
Added some tests
Added some documentation
@bminer bminer closed this in 589d96e Jan 2, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.