Skip to content

Commit

Permalink
fix(trace): print tagName without the native prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
rigor789 committed May 23, 2020
1 parent c035c8c commit 3b22260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/nativescript/runtime/node-ops.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { trace } from '../util'
export const namespaceMap = {}

export function createElement(tagName, vnode) {
trace(`CreateElement(${tagName})`)
trace(`CreateElement(${tagName.replace(/^native/i, '')})`)
return document.createElement(tagName)
}

Expand Down

0 comments on commit 3b22260

Please sign in to comment.