responsive.js 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. (function (global, factory) {
  2. if (typeof define === "function" && define.amd) {
  3. define("/tables/responsive", ["jquery", "Site"], factory);
  4. } else if (typeof exports !== "undefined") {
  5. factory(require("jquery"), require("Site"));
  6. } else {
  7. var mod = {
  8. exports: {}
  9. };
  10. factory(global.jQuery, global.Site);
  11. global.tablesResponsive = mod.exports;
  12. }
  13. })(this, function (_jquery, _Site) {
  14. "use strict";
  15. _jquery = babelHelpers.interopRequireDefault(_jquery);
  16. (0, _jquery.default)(document).ready(function ($$$1) {
  17. (0, _Site.run)();
  18. }); // Set tablesaw config
  19. // -------------------
  20. (function () {
  21. window.TablesawConfig = {
  22. i18n: {
  23. modeStack: 'Stack',
  24. modeSwipe: 'Swipe',
  25. modeToggle: 'Toggle',
  26. modeSwitchColumnsAbbreviated: 'Cols',
  27. modeSwitchColumns: 'Columns',
  28. columnToggleButton: 'Columns',
  29. columnToggleError: 'No eligible columns.',
  30. sort: 'Sort',
  31. swipePreviousColumn: '',
  32. swipeNextColumn: ''
  33. }
  34. };
  35. })();
  36. });