@pie-element/select-text 9.5.11-next.9 → 9.6.0

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.
package/module/demo.js CHANGED
@@ -6,12 +6,12 @@ var generate = {};
6
6
 
7
7
  const tokens = () => [
8
8
  {
9
- text: 'If \'tweren\'t for sight and sound and smell,',
9
+ text: "If 'tweren't for sight and sound and smell,",
10
10
  start: 0,
11
11
  end: 43,
12
12
  },
13
13
  {
14
- text: 'I\'d like the city pretty well,',
14
+ text: "I'd like the city pretty well,",
15
15
  start: 44,
16
16
  end: 74,
17
17
  },
@@ -31,7 +31,7 @@ const tokens = () => [
31
31
  end: 176,
32
32
  },
33
33
  {
34
- text: 'Just quit the city\'s din and dust,',
34
+ text: "Just quit the city's din and dust,",
35
35
  start: 177,
36
36
  end: 211,
37
37
  },
@@ -218,7 +218,6 @@ generate.htmlAscii = (id, element) => ({
218
218
  ],
219
219
  });
220
220
 
221
-
222
221
  generate.model = (id, element) => {
223
222
  return Object.assign(
224
223
  {},
@@ -247,12 +246,12 @@ generate.model = (id, element) => {
247
246
  {
248
247
  end: 627,
249
248
  correct: false,
250
- text: 'At last Natasha\'s moment arrived.',
249
+ text: "At last Natasha's moment arrived.",
251
250
  start: 594,
252
251
  },
253
252
  {
254
253
  end: 743,
255
- text: 'The faces of past giants of gymnastics swam before her mind\'s eye, now razor–sharp with fierce determination.',
254
+ text: "The faces of past giants of gymnastics swam before her mind's eye, now razor–sharp with fierce determination.",
256
255
  correct: false,
257
256
  start: 628,
258
257
  },
@@ -276,7 +275,7 @@ generate.model = (id, element) => {
276
275
  },
277
276
  ],
278
277
  // "element": "select-text",
279
- text: '<p>She thought about what she had to do, struggling to rein in her wild, fearful thoughts. Coach Cummings always said that an undisciplined mind never scored a perfect 10. Natasha wanted to please her Coach, yet sometimes his approval wasn\'t as exciting as his anger. The gymnasts were unanimous about one thing: Coach Cummings\'s fits of disapproving rage were much more humorous to witness than his infrequent, backslapping moments of high praise. Just for a hair of a moment, Natasha wondered if she really wanted a perfect 10, so weary was she of trying for but never achieving one.</p>\n\n<p>At last Natasha\'s moment arrived. The faces of past giants of gymnastics swam before her mind\'s eye, now razor&#8211;sharp with fierce determination. "I am talented. I am not afraid. I will make a perfect 10," she spoke aloud to herself, as she approached the mat, dusted her hands with chalk to prevent slippage, and returned to her starting point. Suddenly, the din of the gymnasium was silent to her. Forcing all sound out of her mind, she focused on the gleaming balance beam ahead of her. Taking a deep breath, Natasha made her graceful, yet powerful approach, mounted the beam flawlessly, and...executed her first perfect 10.</p>\n',
278
+ text: "<p>She thought about what she had to do, struggling to rein in her wild, fearful thoughts. Coach Cummings always said that an undisciplined mind never scored a perfect 10. Natasha wanted to please her Coach, yet sometimes his approval wasn't as exciting as his anger. The gymnasts were unanimous about one thing: Coach Cummings's fits of disapproving rage were much more humorous to witness than his infrequent, backslapping moments of high praise. Just for a hair of a moment, Natasha wondered if she really wanted a perfect 10, so weary was she of trying for but never achieving one.</p>\n\n<p>At last Natasha's moment arrived. The faces of past giants of gymnastics swam before her mind's eye, now razor&#8211;sharp with fierce determination. \"I am talented. I am not afraid. I will make a perfect 10,\" she spoke aloud to herself, as she approached the mat, dusted her hands with chalk to prevent slippage, and returned to her starting point. Suddenly, the din of the gymnasium was silent to her. Forcing all sound out of her mind, she focused on the gleaming balance beam ahead of her. Taking a deep breath, Natasha made her graceful, yet powerful approach, mounted the beam flawlessly, and...executed her first perfect 10.</p>\n",
280
279
  rubricEnabled: false,
281
280
  }),
282
281
  );