Skip to content

Commit 6737ccc

Browse files
committed
style: run prettier
1 parent d2899a1 commit 6737ccc

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

platform/nativescript/plugins/navigator-plugin.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ export function findParentFrame(vm) {
5252

5353
export default {
5454
install(Vue) {
55-
Vue.navigateBack = Vue.prototype.$navigateBack = function (options, backstackEntry = null) {
55+
Vue.navigateBack = Vue.prototype.$navigateBack = function (
56+
options,
57+
backstackEntry = null
58+
) {
5659
const parentFrame = findParentFrame(this)
5760
const defaultOptions = {
5861
frame: parentFrame ? parentFrame : 'default'

platform/nativescript/runtime/components/page.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default {
2020

2121
// we only need call this for the "defaultPage" of the frame
2222
// which is equivalent to testing if any page is "current" in the frame
23-
if (frame && (!frame.$el.nativeView.currentPage )) {
23+
if (frame && !frame.$el.nativeView.currentPage) {
2424
frame.notifyFirstPageMounted(this)
2525
}
2626

0 commit comments

Comments
 (0)