Skip to content

Commit 9fc5976

Browse files
committed
chore: build into samples dir
1 parent 0f39da6 commit 9fc5976

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"test": "jest",
1212
"tdd": "jest --watch",
1313
"samples": "node build/sample-runner.js",
14-
"dev": "rollup -c build/config.js -w --o dist/index.js --environment TARGET:nativescript-vue",
14+
"dev": "rollup -c build/config.js -w --o samples/app/nativescript-vue.js --environment TARGET:nativescript-vue",
1515
"build": "node build/build.js",
1616
"build:docs": "cd docs && npm run build",
1717
"prettier": "prettier --no-semi --single-quote --write \"{{platform,__test__}/**/*.js,samples/app/*.js}\"",

platform/nativescript/runtime/modules/transition.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,7 @@ export function enter(vnode, toggleDisplay) {
7676

7777
const beforeEnterHook = isAppear ? beforeAppear || beforeEnter : beforeEnter
7878
const enterHook = isAppear
79-
? typeof appear === 'function'
80-
? appear
81-
: enter
79+
? typeof appear === 'function' ? appear : enter
8280
: enter
8381
const afterEnterHook = isAppear ? afterAppear || afterEnter : afterEnter
8482
const enterCancelledHook = isAppear

0 commit comments

Comments
 (0)