jspsych-tangram 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20143,11 +20143,11 @@ var TangramPrepPlugin = (function (jspsych) {
20143
20143
  return pts;
20144
20144
  }
20145
20145
  const FIRST_EDGES_UNITS = {
20146
- small_triangle: [P(0, 0), P(0.5, 0.5)],
20147
- parallelogram: [P(0, 0), P(0.5, 0)],
20148
- large_triangle: [P(0, 0), P(0.5, -0.5)],
20149
- med_triangle: [P(0, 0), P(0.5, 0)],
20150
- square: [P(0, 0), P(0.5, 0)]
20146
+ "small-triangle": [P(0, 0), P(0.5, 0.5)],
20147
+ "parallelogram": [P(0, 0), P(0.5, 0)],
20148
+ "large-triangle": [P(0, 0), P(0.5, -0.5)],
20149
+ "med-triangle": [P(0, 0), P(0.5, 0)],
20150
+ "square": [P(0, 0), P(0.5, 0)]
20151
20151
  };
20152
20152
  const PRIMITIVE_BLUEPRINTS_CACHE = (() => {
20153
20153
  const specs = [
@@ -20160,7 +20160,7 @@ var TangramPrepPlugin = (function (jspsych) {
20160
20160
  },
20161
20161
  {
20162
20162
  id: "prim:small",
20163
- kind: "small_triangle",
20163
+ kind: "small-triangle",
20164
20164
  sideLens: [HALFDIAGONAL, HALFDIAGONAL, HALFUNIT, HALFUNIT, HALFUNIT, HALFUNIT],
20165
20165
  angles: [180, 45, 180, 90, 180, 45],
20166
20166
  color: "#f59e0b"
@@ -20174,14 +20174,14 @@ var TangramPrepPlugin = (function (jspsych) {
20174
20174
  },
20175
20175
  {
20176
20176
  id: "prim:med",
20177
- kind: "med_triangle",
20177
+ kind: "med-triangle",
20178
20178
  sideLens: [HALFUNIT, HALFUNIT, HALFUNIT, HALFUNIT, HALFDIAGONAL, HALFDIAGONAL, HALFDIAGONAL, HALFDIAGONAL],
20179
20179
  angles: [180, 180, 180, 45, 180, 90, 180, 45],
20180
20180
  color: "#3b82f6"
20181
20181
  },
20182
20182
  {
20183
20183
  id: "prim:large",
20184
- kind: "large_triangle",
20184
+ kind: "large-triangle",
20185
20185
  sideLens: [
20186
20186
  HALFDIAGONAL,
20187
20187
  HALFDIAGONAL,