Skip to content

Collection scope fix

Compare
Choose a tag to compare
@san650 san650 released this 10 Oct 02:35
· 1177 commits to master since this release

There was a bug in the collection attribute that made components inside item object to not inherit the item's scope #63. This is now fixed.

Now it's possible to do something like:

let page = build({
  users: collection({
    itemScope: '.scope',
    item: {
      data: {
       scope: 'span',
       name: text();
      }
    }
  })
});

Project Update

npm install --save-dev ember-cli-page-object@0.8.1

Changes

#62 Scope bugfixes