Skip to content

Commit

Permalink
fix: convert files with DOS line breaks to Unix line breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
tomyangsh authored and ted423 committed Oct 21, 2024
1 parent a984c17 commit 18ee239
Show file tree
Hide file tree
Showing 15 changed files with 2,784 additions and 2,784 deletions.
20 changes: 10 additions & 10 deletions public/_locales/en/messages.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"manifest_appName": {
"message": "PT Plugin Plus"
},
"manifest_shortName": {
"message": "PT Plugin Plus"
},
"manifest_appDescription": {
"message": "Just a tools for Private Tracker."
}
{
"manifest_appName": {
"message": "PT Plugin Plus"
},
"manifest_shortName": {
"message": "PT Plugin Plus"
},
"manifest_appDescription": {
"message": "Just a tools for Private Tracker."
}
}
20 changes: 10 additions & 10 deletions public/_locales/zh_CN/messages.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"manifest_appName": {
"message": "PT Plugin Plus"
},
"manifest_shortName": {
"message": "PTPP"
},
"manifest_appDescription": {
"message": "PT 助手,一个可以提升 PT 站点使用效率的工具。"
}
{
"manifest_appName": {
"message": "PT Plugin Plus"
},
"manifest_shortName": {
"message": "PTPP"
},
"manifest_appDescription": {
"message": "PT 助手,一个可以提升 PT 站点使用效率的工具。"
}
}
36 changes: 18 additions & 18 deletions public/libs/notice/notice.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj;

var options = API.Defaults;

/**
* @param {NoticeJs} ref
* @param {string} eventName
* @return {void}
/**
* @param {NoticeJs} ref
* @param {string} eventName
* @return {void}
*/
function getCallback(ref, eventName) {
if (ref.callbacks.hasOwnProperty(eventName)) {
Expand Down Expand Up @@ -314,9 +314,9 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

var NoticeJs = function () {
/**
* @param {object} options
* @returns {Noty}
/**
* @param {object} options
* @returns {Noty}
*/
function NoticeJs() {
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
Expand All @@ -338,8 +338,8 @@ var NoticeJs = function () {
return this;
}

/**
* @returns {NoticeJs}
/**
* @returns {NoticeJs}
*/


Expand Down Expand Up @@ -373,10 +373,10 @@ var NoticeJs = function () {
return noticeJs;
}

/**
* @param {string} eventName
* @param {function} cb
* @return {NoticeJs}
/**
* @param {string} eventName
* @param {function} cb
* @return {NoticeJs}
*/

}, {
Expand All @@ -391,17 +391,17 @@ var NoticeJs = function () {
return this;
}

/**
* @param {Object} options
* @return {Notice}
/**
* @param {Object} options
* @return {Notice}
*/

}, {
key: 'close',


/**
* close
/**
* close
*/
value: function close() {
helper.CloseItem(this.dom);
Expand Down
172 changes: 86 additions & 86 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,86 +1,86 @@
{
"name": "__MSG_manifest_appName__",
"short_name": "__MSG_manifest_shortName__",
"version": "1.6.1",
"description": "__MSG_manifest_appDescription__",
"manifest_version": 2,
"default_locale": "zh_CN",
"homepage_url": "https://github.com/pt-plugins/PT-Plugin-Plus",
"browser_action": {
"default_icon": "assets/icon-19.png",
"default_title": "__MSG_manifest_appName__"
},
"permissions": [
"activeTab",
"clipboardRead",
"clipboardWrite",
"storage",
"contextMenus",
"notifications",
"http://*/*",
"https://*/*",
"unlimitedStorage",
"webRequest",
"webRequestBlocking"
],
"optional_permissions": ["downloads", "cookies", "alarms"],
"icons": {
"16": "assets/icon.png",
"19": "assets/icon-19.png",
"64": "assets/icon-64.png",
"128": "assets/icon-128.png"
},
"options_ui": {
"page": "index.html",
"open_in_tab": true
},
"background": {
"scripts": [
"libs/types.expand.js",
"libs/jquery/jquery-3.3.1.min.js",
"libs/Base64.js",
"background/index.js"
]
},
"content_scripts": [{
"matches": [
"http://*/*",
"https://*/*"
],
"exclude_matches": [
"https://fonts.google.com/*"
],
"css": [
"assets/base.css",
"libs/materialIcons/content_style.css",
"libs/notice/noticejs.css",
"libs/basicContext/basicContext.min.css",
"libs/basicContext/themes/default.min.css"
],
"js": [
"libs/types.expand.js",
"libs/jquery/jquery-3.3.1.min.js",
"libs/Base64.js",
"libs/notice/notice.js",
"libs/basicContext/basicContext.min.js",
"libs/drag.js",
"contentScripts/index.js"
]
}],
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
"web_accessible_resources": [
"libs/materialIcons/*.woff2",
"assets/*",
"resource/*"
],
"omnibox": {
"keyword": "pt"
},
"minimum_chrome_version": "80",
"browser_specific_settings": {
"gecko": {
"update_url": "https://pt-plugins.github.io/PT-Plugin-Plus/update/firefox.json",
"strict_min_version": "80.0"
}
}
}
{
"name": "__MSG_manifest_appName__",
"short_name": "__MSG_manifest_shortName__",
"version": "1.6.1",
"description": "__MSG_manifest_appDescription__",
"manifest_version": 2,
"default_locale": "zh_CN",
"homepage_url": "https://github.com/pt-plugins/PT-Plugin-Plus",
"browser_action": {
"default_icon": "assets/icon-19.png",
"default_title": "__MSG_manifest_appName__"
},
"permissions": [
"activeTab",
"clipboardRead",
"clipboardWrite",
"storage",
"contextMenus",
"notifications",
"http://*/*",
"https://*/*",
"unlimitedStorage",
"webRequest",
"webRequestBlocking"
],
"optional_permissions": ["downloads", "cookies", "alarms"],
"icons": {
"16": "assets/icon.png",
"19": "assets/icon-19.png",
"64": "assets/icon-64.png",
"128": "assets/icon-128.png"
},
"options_ui": {
"page": "index.html",
"open_in_tab": true
},
"background": {
"scripts": [
"libs/types.expand.js",
"libs/jquery/jquery-3.3.1.min.js",
"libs/Base64.js",
"background/index.js"
]
},
"content_scripts": [{
"matches": [
"http://*/*",
"https://*/*"
],
"exclude_matches": [
"https://fonts.google.com/*"
],
"css": [
"assets/base.css",
"libs/materialIcons/content_style.css",
"libs/notice/noticejs.css",
"libs/basicContext/basicContext.min.css",
"libs/basicContext/themes/default.min.css"
],
"js": [
"libs/types.expand.js",
"libs/jquery/jquery-3.3.1.min.js",
"libs/Base64.js",
"libs/notice/notice.js",
"libs/basicContext/basicContext.min.js",
"libs/drag.js",
"contentScripts/index.js"
]
}],
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
"web_accessible_resources": [
"libs/materialIcons/*.woff2",
"assets/*",
"resource/*"
],
"omnibox": {
"keyword": "pt"
},
"minimum_chrome_version": "80",
"browser_specific_settings": {
"gecko": {
"update_url": "https://pt-plugins.github.io/PT-Plugin-Plus/update/firefox.json",
"strict_min_version": "80.0"
}
}
}
Loading

0 comments on commit 18ee239

Please sign in to comment.