app-wxs.js 900 B

12345678910111213141516171819202122232425262728293031323334353637
  1. var __wxsModules={};
  2. __wxsModules["2f992f8c"] = (() => {
  3. var __getOwnPropNames = Object.getOwnPropertyNames;
  4. var __commonJS = (cb, mod) => function __require() {
  5. return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
  6. };
  7. // <stdin>
  8. var require_stdin = __commonJS({
  9. "<stdin>"(exports, module) {
  10. var inlineTags = {
  11. abbr: true,
  12. b: true,
  13. big: true,
  14. code: true,
  15. del: true,
  16. em: true,
  17. i: true,
  18. ins: true,
  19. label: true,
  20. q: true,
  21. small: true,
  22. span: true,
  23. strong: true,
  24. sub: true,
  25. sup: true
  26. };
  27. module.exports = {
  28. isInline: function(tagName, style) {
  29. return inlineTags[tagName] || (style || "").indexOf("display:inline") !== -1;
  30. }
  31. };
  32. }
  33. });
  34. return require_stdin();
  35. })();