Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf1110f1

Browse files
fix: wrong import for getCssFileName (#738)
* NS7 Live SyncAfter the update to NS7 getCssFileName is no longer available in the core module you either have to call it from via import { Application } from '@nativescript/core' then call Application.getCssFileName() or require('@nativescript/core/application').getCssFileName() or require('@nativescript/core').Application.getCssFileName();This is causing issues with live sync.* Update platform/nativescript/framework.jsCo-authored-by: Igor Randjelovic <rigor789@gmail.com>
1 parent4678eb2 commitf1110f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎platform/nativescript/framework.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ global.__onLiveSyncCore = () => {
2121

2222
if(frame.currentPage){
2323
frame.currentPage.addCssFile(
24-
require('@nativescript/core').getCssFileName()
24+
require('@nativescript/core').Application.getCssFileName()
2525
)
2626
}
2727
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp