8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97d8862 commit 5b809fdCopy full SHA for 5b809fd
test/unit/specs/directives/public/for/for_spec.js
@@ -871,7 +871,7 @@ if (_.inBrowser) {
871
it('access parent scope\'s $els', function (done) {
872
var vm = new Vue({
873
el: document.createElement('div'),
874
- template: '<div data-d=1 v-el:a><div v-for="n in 2">{{ready ? $els.a.dataset.d : 0}}</div></div>',
+ template: '<div data-d=1 v-el:a><div v-for="n in 2">{{ready ? $els.a.getAttribute("data-d") : 0}}</div></div>',< 46C1 /span>
875
data: {
876
ready: false
877
}
0 commit comments