Skip to content
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

Fixed bugs related to #each blocks #162

Closed
wants to merge 8 commits into from
Closed

Commits on Jan 7, 2013

  1. When model.at() was used to get the path for an element in an #each b…

    …lock it could give an incorrect index. If there was text or spaces between the #each block and the containing element it would give a wrong answer.
    
    The #each block can still only contain one element. It may now contain text surrounding the single element. It may not have any variables outside the single element.
    reneclaus committed Jan 7, 2013
    Configuration menu
    Copy the full SHA
    68b894f View commit details
    Browse the repository at this point in the history
  2. The setRemove function wasn't handling ranges correctly. This was cau…

    …sing removes from #each blocks with ranges (for example some blank text before/after the element) to fail.
    
    I originally used a while loop but the condition wasn't being reevaluated - maybe a browser optimization.
    reneclaus committed Jan 7, 2013
    Configuration menu
    Copy the full SHA
    f0723d8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0a2b8df View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a345052 View commit details
    Browse the repository at this point in the history
  5. Fixed the way settable reactive functions work for functions that req…

    …uire multiple arguments.
    reneclaus committed Jan 7, 2013
    Configuration menu
    Copy the full SHA
    49750dd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    80c08b4 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2013

  1. Configuration menu
    Copy the full SHA
    89ac6d4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    23e2b91 View commit details
    Browse the repository at this point in the history