javascript

Solved Datatables CSV import using join table

The Problem : Dot nation Problem 1 Problem 2 Solution function ref(obj, str) { return str.split(".").reduce(function(o, x) { return o[x] }, obj); } var mapped = ref(data, field.name()); Using this way to read { tablename: { field1, field2 } } It will turn to read tablename.field1 and tablename.field2 Modified Code from Official CVS Import CVS Import selectEditor.on(‘submitComplete’, function (e, json, data, action) { // Use the host Editor instance to show a multi-row create form allowing the us[…]

Solved Datatables CSV import using join table Read More »

ERROR: IITC failed to extract the required parameters from the intel site

I’ve got the error by using IITC for Ingress today IITC failed to extract the required parameters from the intel site This can happen after Niantic update the standard intel site. A fix will be needed from the IITC developers. [code lang="javascript"] var reVersion = new RegExp(‘[a-z]=[a-z].getData();[a-z].v="([a-f0-9]{40})";’); var reVersion = new RegExp(‘[a-z].v="([a-f0-9]{40})";’); var minified =

ERROR: IITC failed to extract the required parameters from the intel site Read More »