poi-plugin-akashic-records
Advanced tools
Comparing version 6.0.0-beta.1 to 6.0.0-beta.2
@@ -1,3 +0,3 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
var Immutable, __, e, i18n, ipc, path, ref, ref1, remote, requirePass, windowTitle; | ||
// Generated by CoffeeScript 1.10.0 | ||
var Immutable, __, e, error, error1, i18n, ipc, path, ref, ref1, remote, requirePass, windowTitle; | ||
@@ -52,4 +52,4 @@ require('coffee-react/register'); | ||
window.ipc = ipc = remote.require('./lib/ipc'); | ||
} catch (_error) { | ||
e = _error; | ||
} catch (error) { | ||
e = error; | ||
if (process.env.DEBUG === 1) { | ||
@@ -71,4 +71,4 @@ console.log(e); | ||
requirePass = true; | ||
} catch (_error) { | ||
e = _error; | ||
} catch (error1) { | ||
e = error1; | ||
requirePass = false; | ||
@@ -75,0 +75,0 @@ } |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var APPDATA_PATH, Button, Col, FolderPickerConfig, Grid, React, ReactBootstrap, Row, _, __, dialog, fs, path, remote, windowManager; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var CSON, path; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
"use strict"; | ||
@@ -80,3 +80,3 @@ var APPDATA_PATH, CONST, DATA_PATH, DataCoManager, FILTER_DATA_INDEX, INDEX_BASE, RAW_DATA_INDEX, _, config, consoleError, consoleLog, consoleWarn, dateToString, eventList, fs, glob, path, typeList; | ||
datalogs = datalogs.map(function(filePath) { | ||
var e, fileContent, logs; | ||
var e, error, fileContent, logs; | ||
try { | ||
@@ -95,4 +95,4 @@ fileContent = fs.readFileSync(filePath, 'utf8'); | ||
}); | ||
} catch (_error) { | ||
e = _error; | ||
} catch (error) { | ||
e = error; | ||
consoleWarn("Read and decode file:" + filePath + " error!" + (e.toString())); | ||
@@ -99,0 +99,0 @@ return []; |
{ | ||
"name": "poi-plugin-akashic-records", | ||
"version": "6.0.0-beta.1", | ||
"version": "6.0.0-beta.2", | ||
"description": "logbook plugin for poi", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
module.exports = { | ||
@@ -3,0 +3,0 @@ addLog: function(log, type) { |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var AkashicLog, CheckboxPanel, StatisticsPanel, VisibleTable; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var AkashicResourceLog, AkashicResourceTable, CheckboxPanel, React, ReactBootstrap, ResourceChart, Tab, TableArea, Tabs, __; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var APIResolver, APPDATA_PATH, CONST, addLog, config, dataCoManager, initializeLogs, judgeDanger, judgeIfDemage, ref, timeToBString; |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var AttackLog, Button, CONST, Col, DATA_PATH, FontAwesome, FormControl, Grid, OverlayTrigger, Popover, ROOT, React, ReactBootstrap, Row, __, dateCmp, dialog, duplicateRemoval, duplicateResourceRemoval, fs, iconv, jschardet, openExternal, oriTableTab, path, ref1, remote, resolveFile, shell, toDateLabel, translate, translateTableTab; | ||
@@ -802,3 +802,3 @@ | ||
importLogHandle: function() { | ||
var codeType, data, e, fileContent, fileContentBuffer, filename, hint, i, item, len, logType, newData, newLength, nickNameId, oldData, oldLength, ref2, saveData, saveType; | ||
var codeType, data, e, error, fileContent, fileContentBuffer, filename, hint, i, item, len, logType, newData, newLength, nickNameId, oldData, oldLength, ref2, saveData, saveType; | ||
nickNameId = window._nickNameId; | ||
@@ -885,4 +885,4 @@ if (nickNameId && nickNameId !== 0) { | ||
return this.showMessage("新导入" + (newLength - oldLength) + "条" + hint + "记录!"); | ||
} catch (_error) { | ||
e = _error; | ||
} catch (error) { | ||
e = error; | ||
this.showMessage(e.message); | ||
@@ -914,3 +914,3 @@ throw e; | ||
"title": __("About") | ||
}, React.createElement("h5", null, __("Exporting")), React.createElement("ul", null, React.createElement("li", null, __("Choose the data you want to export")), React.createElement("li", null, __("The file's encoding is determined by the OS. Win -> GB2312, Others -> utf8"))), React.createElement("h5", null, __("Importing")), React.createElement("ul", null, React.createElement("li", null, __("Support List"), React.createElement("ul", null, React.createElement("li", null, "\u963f\u514b\u590f\u8bb0\u5f55"), React.createElement("li", null, "\u822a\u6d77\u65e5\u8a8c \u62e1\u5f35\u7248 (\u67d0\u4e9b\u7248\u672c)"), React.createElement("li", null, "KCV-yuyuvn")))), React.createElement("h5", null, __("Need more?")), React.createElement("ul", null, React.createElement("li", null, React.createElement("a", { | ||
}, React.createElement("h5", null, __("Exporting")), React.createElement("ul", null, React.createElement("li", null, __("Choose the data you want to export")), React.createElement("li", null, __("The file's encoding is determined by the OS. Win -> GB2312, Others -> utf8"))), React.createElement("h5", null, __("Importing")), React.createElement("ul", null, React.createElement("li", null, __("Support List"), React.createElement("ul", null, React.createElement("li", null, "阿克夏记录"), React.createElement("li", null, "航海日誌 拡張版 (某些版本)"), React.createElement("li", null, "KCV-yuyuvn")))), React.createElement("h5", null, __("Need more?")), React.createElement("ul", null, React.createElement("li", null, React.createElement("a", { | ||
"onClick": openExternal.bind(this, "https://github.com/poooi/plugin-Akashic-records/issues/new") | ||
@@ -917,0 +917,0 @@ }, __("open a new issue on github"))), React.createElement("li", { |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var AkashicRecordsCheckboxPanel, Button, ButtonGroup, CONST, Checkbox, Col, Collapse, Divider, DropdownButton, FormControl, Grid, MenuItem, OverlayTrigger, Panel, Popover, React, ReactBootstrap, Row, Table, Well, __, config, jQuery, openExternal; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var AkashicRecordsStatisticsPanel, Button, ButtonGroup, CONST, Col, Collapse, Divider, DropdownButton, FormControl, Grid, MenuItem, OverlayTrigger, Panel, Popover, React, ReactBootstrap, Row, Table, Well, __, boundActivePageNum, config, jQuery, openExternal; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var AkashicRecordsTableArea, AkashicRecordsTableTbodyItem, ButtonGroup, CONST, Col, DropdownButton, FontAwesome, FormControl, Grid, MenuItem, OverlayTrigger, Pagination, Popover, ROOT, React, ReactBootstrap, Row, Table, __, config, dateToString, error, log, openExternal, path, ref1, showBattleDetail, warn; | ||
@@ -40,3 +40,3 @@ | ||
showBattleDetail = function(timestamp) { | ||
var battleDetail, e; | ||
var battleDetail, e, error1; | ||
try { | ||
@@ -58,4 +58,4 @@ if (window.ipc == null) { | ||
})(this)); | ||
} catch (_error) { | ||
e = _error; | ||
} catch (error1) { | ||
e = error1; | ||
return window.toggleModal("Warning", e); | ||
@@ -62,0 +62,0 @@ } |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var $, AkashicResourceChart, ButtonGroup, Col, DropdownButton, Grid, MenuItem, ROOT, React, ReactBootstrap, Row, __, config, dark, err, error, macarons, path, toDateLabel, toDateString; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var AkashicResourceCheckboxArea, Button, ButtonGroup, Checkbox, Col, F, Grid, Panel, React, ReactBootstrap, Row, jQuery; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var AkashicResourceTableArea, AkashicResourceTableTbodyItem, ButtonGroup, Col, DropdownButton, FormControl, Grid, MenuItem, Pagination, ROOT, React, ReactBootstrap, Row, Table, __, dateToString, error, log, path, ref1, warn; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var AdvancedModule, __, connect, initializeLogs, mapDispatchToProps, mapStateToProps; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var __, connect, getPropsFromState, hiddenCheckboxPanel, logCP, mapDispatchToProps, mapStateToProps, ref, resourceCP, setActivePage, setConfigList, setShowAmount, setTabVisibility, showCheckboxPanel; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var ChartArea, __, connect, mapDispatchToProps, mapStateToProps; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var TableArea, __, connect, getPropsFromState, mapDispatchToProps, mapStateToProps, ref, resourceFilter, setActivePage, setFilterKey, setShowAmount, setTimeScale; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var StatisticsPanel, __, addSearchRule, addStatisticsRule, calPercent, connect, deleteSearchRule, deleteStatisticsRule, filterSelectors, getPropsFromState, getSearchItems, getStatisticsItems, hiddenStatisticsPanel, mapDispatchToProps, mapStateToProps, ref, ref1, searchSelectors, setSearchRuleBase, setSearchRuleKey, setStatisticsRuleDenominator, setStatisticsRuleDenominatorType, setStatisticsRuleNumerator, setStatisticsRuleNumeratorType, showStatisticsPanel; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var TableArea, __, connect, filterSelectors, getPropsFromState, mapDispatchToProps, mapStateToProps, ref, setActivePage, setFilterKey; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var React; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var $, AkashicRecordsArea, CONST, Label, ROOT, React, ReactBootstrap, ReactDOM, __, errorMessage, translate; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var $, APIResolver, AkashicAdvancedModule, AkashicLog, AkashicRecordsArea, AkashicResourceLog, CONST, Label, Provider, ROOT, React, ReactBootstrap, ReactDOM, Tab, Tabs, __, apiResolver, arApp, createStore, error, fs, log, path, ref, ref1, store, translate, warn; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var $, Button, Modal, ModalTrigger, React, ReactBootstrap, ReactDOM; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var Immutable; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var Immutable, defaultFilterKeys; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var combineReducers, logContent; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var activePage, boundActivePageNum, checkboxVisible, combineReducers, configList, configListChecked, data, filterKeys, filterSelectors, language, logContent, ref, ref1, ref2, ref3, resourceFilter, searchRules, showAmount, showTimeScale, statisticsRules, statisticsVisible, tabVisibility, tabs; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var config; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var Immutable, searchRule; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var Immutable, statisticsRule; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var Immutable, __, config, defaultTabVisibility, getTabs, tableTab; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var Immutable, config, configList, getTabs; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var APPDATA_PATH, CONST, Immutable, config, createSelector, dateToDateString, dateToString, filterAsScale, filterRegWindex, filterStringWIndex, filterWNindex, filterWithIndex, logSearchSelectorBaseFactory, logSearchSelectorFactory, logSelectorFactory, resourceFilter; | ||
@@ -64,3 +64,3 @@ | ||
filterWithIndex = function(logs, filterKeys) { | ||
var e, index, j, key, len, reg, regFlag, res, retData; | ||
var e, error, index, j, key, len, reg, regFlag, res, retData; | ||
retData = logs; | ||
@@ -76,4 +76,4 @@ for (index = j = 0, len = filterKeys.length; j < len; index = ++j) { | ||
regFlag = true; | ||
} catch (_error) { | ||
e = _error; | ||
} catch (error) { | ||
e = error; | ||
consoleError("Failed to resolve RegExp " + key + "."); | ||
@@ -93,3 +93,3 @@ } | ||
filterWNindex = function(logs, keyword) { | ||
var e, reg, regFlag, res; | ||
var e, error, reg, regFlag, res; | ||
if (keyword === '') { | ||
@@ -104,4 +104,4 @@ return logs; | ||
regFlag = true; | ||
} catch (_error) { | ||
e = _error; | ||
} catch (error) { | ||
e = error; | ||
regFlag = false; | ||
@@ -108,0 +108,0 @@ } finally { |
Sorry, the diff of this file is not supported yet
2563151
58971