Fixed a bug when context is a string #164

Merged
merged 2 commits into from Feb 24, 2012

Conversation

Projects
None yet
2 participants
@utvara
Contributor

utvara commented Feb 11, 2012

var view = {
        type: 'aa',
        items: ['a','b','c']
}

template:

<ul>
{{#items}}
    <li><a href="#{{type}}/{{.}}">{{.}}</a></li>
{{/items}}
</ul>
@janl

This comment has been minimized.

Show comment Hide comment
@janl

janl Feb 23, 2012

Owner

Can you add a test case for this?

Owner

janl commented Feb 23, 2012

Can you add a test case for this?

@utvara

This comment has been minimized.

Show comment Hide comment
@utvara

utvara Feb 23, 2012

Contributor

Done.

Sorry I didn't do it in the first place :(

Contributor

utvara commented Feb 23, 2012

Done.

Sorry I didn't do it in the first place :(

@janl

This comment has been minimized.

Show comment Hide comment
@janl

janl Feb 24, 2012

Owner

thanks! no worries :)

Owner

janl commented Feb 24, 2012

thanks! no worries :)

janl added a commit that referenced this pull request Feb 24, 2012

Merge pull request #164 from utvara/master
Fixed a bug when context is a string

@janl janl merged commit 4e94d04 into janl:master Feb 24, 2012

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