@fraczak/k
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -8,2 +8,3 @@ // Generated by CoffeeScript 2.7.0 | ||
if (name1 === name2) { | ||
// console.log {classes, representatives, name1, name2, codes} | ||
return false; | ||
@@ -24,3 +25,4 @@ } | ||
var ref; | ||
return fields[label] = (ref = representatives[arg[label]]) != null ? ref : arg[label]; | ||
fields[label] = (ref = representatives[arg[label]]) != null ? ref : arg[label]; | ||
return fields; | ||
}, {}); | ||
@@ -35,2 +37,4 @@ })(code[code.code]); | ||
if (fields2[field] !== rep) { | ||
// console.log {field,rep1:rep,rep2:fields2[field]} | ||
return true; | ||
@@ -37,0 +41,0 @@ } |
{ | ||
"name": "@fraczak/k", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "k-language for JSON-like data transformation", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -114,3 +114,4 @@ // Generated by CoffeeScript 2.7.0 | ||
verify = function(code, value) { | ||
// console.log {code,value} | ||
// representatives = run.defs.representatives | ||
// console.log {code,value,representatives} | ||
switch (code.code) { | ||
@@ -117,0 +118,0 @@ case "vector": |
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
82363
26
1471