Skip to content

Commit

Permalink
fix: add missing setStyleScope method
Browse files Browse the repository at this point in the history
recent refactor in Vue introduced setStyleScope node op, which broke things with ns-vue, this should
take care of it.
  • Loading branch information
rigor789 committed Apr 22, 2018
1 parent 45cb46d commit eb03732
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions platform/nativescript/runtime/node-ops.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,7 @@ export function setAttribute(node, key, val) {

node.setAttribute(key, val)
}

export function setStyleScope(node, scopeId) {
node.setAttribute(scopeId, '')
}

0 comments on commit eb03732

Please sign in to comment.