New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can.computes that return nulls can be used with #each #743

justinbmeyer opened this Issue Feb 18, 2014 · 0 comments


None yet
2 participants

justinbmeyer commented Feb 18, 2014

A compute like:

var people = new can.List(["Curtis","Stan"])

var list = can.compute(function(){
  if( map.attr("showPeope") ) {
    return people
  } else {
    return null;

does not work with {{#each}}.


@justinbmeyer justinbmeyer added the Bug label Feb 18, 2014

@daffl daffl added this to the 2.0.6 milestone Feb 18, 2014

@daffl daffl closed this in 60314d9 Mar 14, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment