Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

benchmark(tree): Add transcluding components to the TreeComponent benchmark #1332

Conversation

vsavkin
Copy link
Contributor

@vsavkin vsavkin commented Aug 8, 2014

No description provided.

class TreeComponent {
@NgOneWay('data')
var data;
}

@Component(
selector: 'transcluding-tree',
template: '<span> {{ctrl.data.value}}'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about var htmlTemplate = ...; and reuse it here & above ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried it, but SourceMetadataExtractor requires template to be a string literal.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah makes sense

@mhevery mhevery added cla: yes and removed cla: no labels Aug 8, 2014
@vicb vicb added this to the vicb-0.14 milestone Aug 13, 2014
@vsavkin vsavkin closed this in 7c4b00e Aug 14, 2014
vsavkin added a commit that referenced this pull request Aug 15, 2014
dsalsbury pushed a commit to dsalsbury/angular.dart that referenced this pull request Aug 16, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

3 participants