Skip to content

Commit

Permalink
コメント及び文字コードの修正
Browse files Browse the repository at this point in the history
  • Loading branch information
natade-jp committed May 5, 2021
1 parent 3c13aa2 commit 6510f8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified build/konpeito-ES3.js
Binary file not shown.
4 changes: 2 additions & 2 deletions scripts/package.build.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const getHeader = function() {
const header = [];
header.push("/*!");
header.push(" * konpeito-ES3.js (version " + package_info["version"] + ", " + build_date.getFullYear() + "/" + (build_date.getMonth() + 1) + "/" + build_date.getDay() + ")");
header.push(" * https://github.com/natade-jp/SenkoWSH");
header.push(" * https://github.com/natade-jp/konpeito-ES3");
header.push(" * Copyright 2013-" + build_date.getFullYear() + " natade < https://github.com/natade-jp >");
header.push(" *");
header.push(" * The MIT license.");
Expand Down Expand Up @@ -57,7 +57,7 @@ for(let i = 0; i < list.length; i++) {
const output = getHeader() + text_array.join("") + getFooter();

// ファイルを作成する
const output_data = MojiJS.encode(output.replace(/\n/g, "\r\n"), "UTF16-LE");
const output_data = MojiJS.encode(output.replace(/\n/g, "\r\n"), "Shift_JIS");

// 作成
File.saveBinaryFile("./build/konpeito-ES3.js", output_data);
Expand Down

0 comments on commit 6510f8c

Please sign in to comment.