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

Commit f2fa394

Browse files
Merge pull request #20 from securedeveloper/jse-feature
JSE [refactor] better code formatting.
2 parents 78c997c + 59d92aa commit f2fa394

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed
File renamed without changes.
File renamed without changes.

‎src/JavaScriptExcel.ts‎ renamed to ‎src/api/JavaScriptExcel.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {JSEData, JSERow} from "./Types";
1+
import {JSEData, JSERow} from "../Types";
22

33
export default class JavaScriptExcel {
44
private ___Excel___: any;
File renamed without changes.
File renamed without changes.

‎src/index.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import {___JSE_DownloadFileExtension} from "./constants";
2-
import JavascriptExcel from "./JavaScriptExcel";
1+
import {___JSE_DownloadFileExtension} from "./api/constants";
2+
import JavascriptExcel from "./api/JavaScriptExcel";
33

44
interface IJavaScriptExcel {
55
new(jszip: any, saveAs: Function): JavascriptExcel;

‎src/FileContentTypes.ts‎ renamed to ‎src/xlsx/FileContentTypes.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
import {___JSE_XLSX___File, ___JSE_XLSX___FileContent, ___JSE_XLSX___Node} from "./xlsx";
1+
import {___JSE_XLSX___File, ___JSE_XLSX___FileContent, ___JSE_XLSX___Node} from "../api/xlsx";
22
import {
33
Extension_Rels,
44
Extension_Xml, PartName_DocProps_App, PartName_DocProps_Core, PartName_DocProps_Custom, PartName_Xl_SharedStrings,
55
PartName_Xl_Sheet, PartName_Xl_Styles,
66
PartName_Xl_Theme,
77
PartName_Xl_Workbook,
88
Xmlns_Types
9-
} from "./Internals";
10-
import {JSESheet, JSExcel} from "./Types";
9+
} from "../api/Internals";
10+
import {JSESheet, JSExcel} from "../Types";
1111

1212
const fileProps: any = {
1313
name: "[Content_Types]",

‎src/Directory_Rels.ts‎ renamed to ‎src/xlsx/_rels/DirectoryRels.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import {JSExcel} from "./Types";
2-
import {___JSE_XLSX___Directory, ___JSE_XLSX___File, ___JSE_XLSX___FileContent, ___JSE_XLSX___Node} from "./xlsx";
1+
import {JSExcel} from "../../Types";
2+
import {___JSE_XLSX___Directory, ___JSE_XLSX___File, ___JSE_XLSX___FileContent, ___JSE_XLSX___Node} from "../../api/xlsx";
33
import {
44
Relationship_Target_App,
55
Relationship_Target_Core,
@@ -10,7 +10,7 @@ import {
1010
Relationship_Type_Custom,
1111
Relationship_Type_Workbook,
1212
Xmlns_RelationShips
13-
} from "./Internals";
13+
} from "../../api/Internals";
1414

1515
const fileProps: any = {
1616
name: null,

‎test/unit/Helper.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {cleanAlphaNumericString} from "../../src/Helper";
1+
import {cleanAlphaNumericString} from "../../src/api/Helper";
22

33
describe("Helper --> ", () => {
44
describe("String --> ", () => {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /