From dcf8532cdfa951620b234d413fd7042ab2b702bb Mon Sep 17 00:00:00 2001 From: Sam Smith Date: Thu, 15 Jun 2017 13:15:46 +0100 Subject: [PATCH] Hygiene: Group instrumentation modules Following on from I4f653bba, since the schema and statsvInstrumentation modules are similar, let's group/rename them: schema -> instrumentation/eventLogging statsvInstrumentation -> instrumentation/statsv Change-Id: Ic59e0da7d4917f6733fd090f15d3c269af863f05 --- resources/dist/index.js | Bin 35275 -> 35321 bytes resources/dist/index.js.map | Bin 282469 -> 282628 bytes src/index.js | 4 ++-- .../eventLogging.js} | 0 .../statsv.js} | 0 .../eventLogging.test.js} | 6 +++--- .../statsv.test.js} | 6 +++--- 7 files changed, 8 insertions(+), 8 deletions(-) rename src/{schema.js => instrumentation/eventLogging.js} (100%) rename src/{statsvInstrumentation.js => instrumentation/statsv.js} (100%) rename tests/node-qunit/{schema.test.js => instrumentation/eventLogging.test.js} (91%) rename tests/node-qunit/{statsvInstrumentation.test.js => instrumentation/statsv.test.js} (83%) diff --git a/resources/dist/index.js b/resources/dist/index.js index ee3684cb66131eefba23c675f99af34c51c3ef44..626070452753a522b1730964418b71286b31e926 100644 GIT binary patch delta 156 zcmX>-nd#?brVTzG&Y5||B}JvVsd*)dC7Jno`o%!HxJ)mrSV>bS#5PYuNl(AHC|Ms} zS!x+jhfjWbdS+hw<_eD>7CuySCg0UinEbB#0Y93?$v!C(liyU!O!krHnEcm=fAY+h VxXmYhc=b1*uPJ2T{JrH03ji#6K+XUF delta 130 zcmex4nd$UorVTzGI>jZ4CBji`%T) HdW8i5)Wb2A diff --git a/resources/dist/index.js.map b/resources/dist/index.js.map index 062e80bf7a9316ae5fdcae9faabc509b23cad678..62aea6a2d28a5c4a2b1cbf40164b6072e6f5344a 100644 GIT binary patch delta 9189 zcma)Cd2E~Kc?V^0rQ4)|8^uQ)+woN&{Gy9@6Bl{;k)kM>)x^k6}g8KZ*szx^`QEVH*(a_dL%_ zic;h(|LD{AzVCD2@5f)gy!&%Ec0d16r^n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