--
You received this message because you are subscribed to the Google Groups "meteor-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meteor-talk...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "meteor-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meteor-core...@googlegroups.com.
To post to this group, send email to meteo...@googlegroups.com.
Visit this group at http://groups.google.com/group/meteor-core.
rendered callback on fired once. Does it behave like created but only after all elements are created? What happens if I want to use old rendered behavior (call when object update happens)?
rendered callback on fired once. Does it behave like created but only after all elements are created? What happens if I want to use old rendered behavior (call when object update happens)?
A very frequent tracing task I do when debugging reactive update issue is to find the trigger source. It'd be incredibly helpful for meteor to tell me: Document.update(...) at line 123 in file.js causes this.
On Monday, October 14, 2013 9:41:34 PM UTC-7, David Greenspan wrote:Good evening!We are very excited to announce the first preview release for the new templating engine. This preview release contains work we've been developing on a branch, which replaces machinery such as Spark and Liverange but supports roughly the same template API as before. The new engine has simpler, easier-to-understand behavior with respect to the DOM; you don't have to use `{{#constant}}` and `preserve` directives or guard against multiple "rendered" callbacks. jQuery plugins work well with Meteor templates. Some API changes will require porting packages and apps, but we've tried to keep the new engine as backwards compatible as possible.This work is absolutely not yet ready for use in production apps. In fact, it's much more unfinished than usual for code that we're soliciting feedback on. However, there's been so much interest and excitement about Meteor UI that we think our hardcore users might be willing to help bang on a buggy version. We're releasing this early to get feedback about the new API, to learn about bugs that can be reproduced in small apps, and to give package and app authors some time to prepare for the upcoming release. Some packages, most notably ones generating forms or implementing routing, will have to be ported first. We'll be releasing additional preview releases as we get further down the path on the track for Meteor 0.7.0.Details about the changes and how to run the code can be found on our wiki. This page will be kept up-to-date as changes are made.Cheers!David and Avi
--
To unsubscribe from this group and stop receiving emails from it, send an email to meteor-talk+unsubscribe@googlegroups.com.
updateEvent = (p) ->
'keyup input': (e) ->console.log enewValue = e.target.valuep.value = newValueTemplate.hello.obj = () ->p =value: 'Initial'label: 'Label'Template.hello.events = updateEvent pp
I like the spirit of using `{{#with obj}}` to create a local mutable object. Unfortunately, there's the issue of `obj` getting called multiple times which you ran into, and there's also the problem that Meteor can't detect when you set `p.value`; data context objects are meant to be immutable at the moment. We're still trying to figure out the best pattern for local mutable state.
--
You received this message because you are subscribed to the Google Groups "meteor-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meteor-talk...@googlegroups.com.
sudo meteor --release template-engine-preview-1 --deploy meteor-ui-rendering-tests-1.meteor.com
--
You received this message because you are subscribed to the Google Groups "meteor-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meteor-core...@googlegroups.com.
To post to this group, send email to meteo...@googlegroups.com.
Visit this group at http://groups.google.com/group/meteor-core.
--
You received this message because you are subscribed to the Google Groups "meteor-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meteor-talk...@googlegroups.com.
Thanks for your work, I really like where the template engine is going!My app works with template-engine-preview-3, with one little problem: I had to remove {{#if isActive 'someView'}}selected{{/if}} from my CSS class declarations for highlighting the current view in the navigation. #if tags don't seem to work inside class declarations anymore. What's the reason for this? When I replaced it with a {{selected 'myView'}} helper that compares 'myView' to a Session variable it worked.I get this error message:packages/spacebars/spacebars.js:287: Can't use this stache tag at this position in an HTML tag, at line 57, offset 36 in Template "sidebar" (compiling client/views/common/sidebar.html)
Thanks!
--
You received this message because you are subscribed to the Google Groups "meteor-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meteor-core...@googlegroups.com.
To post to this group, send email to meteo...@googlegroups.com.
Visit this group at http://groups.google.com/group/meteor-core.
You received this message because you are subscribed to a topic in the Google Groups "meteor-talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/meteor-talk/gHSSlyxifec/unsubscribe.
To unsubscribe from this group and all its topics, send an email to meteor-talk...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to meteor-talk+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to meteor-talk+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to meteor-talk...@googlegroups.com.
We made a change to "rendered" where it fires sooner, before the template is in the document (it is guaranteed to have a parent element, but that element may still be in a document fragment). You can use this.find from rendered, but not global $, which searches the document. That said, we're planning to change it back this week so that "rendered" waits until the template is in the document, because the change is causing confusion.
--
Good evening!We are very excited to announce the first preview release for the new templating engine. This preview release contains work we've been developing on a branch, which replaces machinery such as Spark and Liverange but supports roughly the same template API as before. The new engine has simpler, easier-to-understand behavior with respect to the DOM; you don't have to use `{{#constant}}` and `preserve` directives or guard against multiple "rendered" callbacks. jQuery plugins work well with Meteor templates. Some API changes will require porting packages and apps, but we've tried to keep the new engine as backwards compatible as possible.This work is absolutely not yet ready for use in production apps. In fact, it's much more unfinished than usual for code that we're soliciting feedback on. However, there's been so much interest and excitement about Meteor UI that we think our hardcore users might be willing to help bang on a buggy version. We're releasing this early to get feedback about the new API, to learn about bugs that can be reproduced in small apps, and to give package and app authors some time to prepare for the upcoming release. Some packages, most notably ones generating forms or implementing routing, will have to be ported first. We'll be releasing additional preview releases as we get further down the path on the track for Meteor 0.7.0.Details about the changes and how to run the code can be found on our wiki. This page will be kept up-to-date as changes are made.Cheers!David and Avi
--
You received this message because you are subscribed to the Google Groups "meteor-talk" group.
--
You received this message because you are subscribed to the Google Groups "meteor-talk" group.
--
You received this message because you are subscribed to a topic in the Google Groups "meteor-talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/meteor-talk/gHSSlyxifec/unsubscribe.
To unsubscribe from this group and all its topics, send an email to meteor-talk...@googlegroups.com.
don't use triple stache for HTML attrs in examples
This syntax has a bug where it relies on having html5-tokenizer on the client, code which was written for the server (and uses Function.bind, defineGetter, etc.).
The plan is to deprecate/remove this syntax anyway, i.e. not allow
you to say `<x {{{attrs}}}>` and then have `attrs` evaluate to a string like
'key1="value1" key2="value2"' at runtime. Constructing these strings is error-prone and likely to be insecure.
Instead, you'll have your choice of double-stache in an attribute value, with or without quotes (`<a b={{c}}>`, or `<a b="{{c}} {{d}}"`, or even `<a b={{c}}-{{d}}>`), or double-stache at the top level of a tag, as in `<a {{b}}>`, in which case `b` must be either a dictionary of attribute names and values or a string containing at most a single attribute name (e.g. "selected" or "").Not sure how this works in the new UI:
Would be nice if we could simply invoke object functions directly as simple helpers without having to declare.
Eg.:
{{#each imagefiles}}
<a href="{{downloadUrl}}" download>Click here to download</a>
Name: {{name}}
Size: {{size}}
{{/each}}
Where downloadUrl is a function mounted on each imagefiles item - could potentially take arguments.
What do I have to do to get fields to work? (This is from Devshop 6) https://www.youtube.com/watch?v=pGQ-ax5cFnk#t=817I am using the shark branch right now, and UI.Component.current is undefined.This feature solves the most important issue we have with Meteor right now.Thanks,- Max
On Wednesday, November 13, 2013 2:40:00 PM UTC-8, Avital Oliver wrote:
We have a new release on this track: template-engine-preview-5.Changes from template-engine-preview-4:* Fixed a bug related to {{#each}} on cursors (thanks David Glasser for finding and helping investigate)* Fixed a bug on Internet Explorer related to dynamic element attributes* Merged the Meteor 0.6.6.3 release.As always, feedback is welcome.Thanks,David and Avital.
On Fri, Nov 8, 2013 at 3:58 PM, Avital Oliver <avi...@meteor.com> wrote:
Hi fellow cutting-edge experimenters!We've just released `template-engine-preview-4` in which SELECT tags work. We've also made `{{#with falseyValue}}` behave like it does on the released version of Meteor. The wiki page has been updated.Try it out and let us know of any problems!Thanks,Avital.
On Mon, Oct 14, 2013 at 9:41 PM, David Greenspan <da...@meteor.com> wrote:
Good evening!We are very excited to announce the first preview release for the new templating engine. This preview release contains work we've been developing on a branch, which replaces machinery such as Spark and Liverange but supports roughly the same template API as before. The new engine has simpler, easier-to-understand behavior with respect to the DOM; you don't have to use `{{#constant}}` and `preserve` directives or guard against multiple "rendered" callbacks. jQuery plugins work well with Meteor templates. Some API changes will require porting packages and apps, but we've tried to keep the new engine as backwards compatible as possible.This work is absolutely not yet ready for use in production apps. In fact, it's much more unfinished than usual for code that we're soliciting feedback on. However, there's been so much interest and excitement about Meteor UI that we think our hardcore users might be willing to help bang on a buggy version. We're releasing this early to get feedback about the new API, to learn about bugs that can be reproduced in small apps, and to give package and app authors some time to prepare for the upcoming release. Some packages, most notably ones generating forms or implementing routing, will have to be ported first. We'll be releasing additional preview releases as we get further down the path on the track for Meteor 0.7.0.Details about the changes and how to run the code can be found on our wiki. This page will be kept up-to-date as changes are made.Cheers!David and Avi
Hey, am I missing something fundamental here or is it a bug that the {{#each}} view helper still runs after the template is destroyed?
--
You received this message because you are subscribed to the Google Groups "meteor-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meteor-core...@googlegroups.com.
To post to this group, send email to meteo...@googlegroups.com.
Visit this group at http://groups.google.com/group/meteor-core.
Helpers.addScope('Session', Session); Helpers.addScope('Meteor', Meteor);
Read my session: {{Session.get 'mySession'}}
Is my session equal to 4?: {{Session.equals 'mySession' 4}}
Does this helper render??: {{console.log 'Why would you ever add console to the global helper scope?'}}
What user id do I got: {{Meteor.userId}}
What's the connection status?: {{Meteor.status.status}}
Hmm, I am client right? {{Meteor.isClient}}