poi-plugin-akashic-records
Advanced tools
Comparing version 6.0.0-beta.4 to 6.0.0-beta.5
@@ -0,0 +0,0 @@ window.remote = require('electron').remote; |
{ | ||
"name": "poi-plugin-akashic-records", | ||
"version": "6.0.0-beta.4", | ||
"version": "6.0.0-beta.5", | ||
"description": "logbook plugin for poi", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -0,0 +0,0 @@ [![NPM](https://nodei.co/npm/poi-plugin-akashic-records.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/poi-plugin-akashic-records/) |
@@ -156,3 +156,3 @@ // Generated by CoffeeScript 1.10.0 | ||
APIResolver.prototype.handleResponse = function(e) { | ||
var $ships, $shiptypes, $slotitemTypes, $slotitems, $useitems, _decks, apiData, body, dataItem, item, itemId, j, k, kdock, l, len, len1, len2, map, method, nowDate, postBody, ref1, ref2, remainNum, results, urlpath, useItemFlag, useItemId; | ||
var $ships, $shiptypes, $slotitemTypes, $slotitems, $useitems, _decks, apiData, body, dataItem, item, itemId, j, k, kdock, l, len, len1, len2, map, method, nowDate, postBody, ref1, ref2, ref3, remainNum, results, urlpath, useItemFlag, useItemId; | ||
ref1 = e.detail, method = ref1.method, body = ref1.body, postBody = ref1.postBody; | ||
@@ -164,5 +164,6 @@ urlpath = e.detail.path; | ||
case '/kcsapi/api_get_member/mapinfo': | ||
ref2 = body.api_map_info; | ||
results = []; | ||
for (j = 0, len = body.length; j < len; j++) { | ||
map = body[j]; | ||
for (j = 0, len = ref2.length; j < len; j++) { | ||
map = ref2[j]; | ||
this.mapLv[map.api_id] = 0; | ||
@@ -336,5 +337,5 @@ if (map.api_eventmap != null) { | ||
dataItem.push(nowDate.getTime()); | ||
ref2 = body.api_material; | ||
for (l = 0, len2 = ref2.length; l < len2; l++) { | ||
item = ref2[l]; | ||
ref3 = body.api_material; | ||
for (l = 0, len2 = ref3.length; l < len2; l++) { | ||
item = ref3[l]; | ||
dataItem.push(item.api_value); | ||
@@ -341,0 +342,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
59014
2564414