Current Dev State

This commit is contained in:
Tim Lorsbach
2025-06-23 20:13:54 +02:00
parent b4f9bb277d
commit ded50edaa2
22617 changed files with 4345095 additions and 174 deletions

13
static/js/ketcher2/node_modules/astw/test/json.js generated vendored Normal file
View File

@ -0,0 +1,13 @@
var astw = require('../');
var test = require('tape');
test('json', function (t) {
t.plan(2);
var numbers = [ 1, 2 ];
var walk = astw('{"a":1,"b":2}');
walk(function (node) {
if (node.type === 'Literal' && typeof node.value === 'number') {
t.equal(node.value, numbers.shift());
}
});
});