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

Commit2b6c4ec

Browse files
author
minjk-bl
committed
CHROME: Fixed sample data path on File app by using github raw url
1 parente9181b4 commit2b6c4ec

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎js/m_apps/File.js‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,12 @@ define([
5151
]
5252
}
5353

54-
this.dataPath=window.location.origin+com_Const.DATA_PATH+"sample_csv/";
54+
if(vpConfig.extensionType==='notebook'){
55+
this.dataPath=window.location.origin+com_Const.DATA_PATH+"sample_csv/";
56+
}elseif(vpConfig.extensionType==='chrome'){
57+
// this.dataPath = com_Const.DATA_PATH + "sample_csv/";
58+
this.dataPath='https://raw.githubusercontent.com/visualpython/visualpython/main/data/sample_csv/';
59+
}
5560

5661
this.state={
5762
fileExtension:'csv',

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp