Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.js 459B

1234567891011121314151617181920212223
  1. delete Object.freeze;
  2. var html = require('../cjs');
  3. console.assert(
  4. html.escape('&<>\'"') === '&amp;&lt;&gt;&#39;&quot;',
  5. 'correct escape'
  6. );
  7. console.assert(
  8. html.escape('<>\'"&') === '&lt;&gt;&#39;&quot;&amp;',
  9. 'correct inverted escape'
  10. );
  11. console.assert(
  12. '&<>\'"' === html.unescape('&amp;&lt;&gt;&#39;&quot;'),
  13. 'correct unescape'
  14. );
  15. console.assert(
  16. '<>\'"&' === html.unescape('&lt;&gt;&#39;&quot;&amp;'),
  17. 'correct inverted unescape'
  18. );