diff default/node_modules/tablesaw/dist/tablesaw-init.js @ 0:1d038bc9b3d2 default tip

Up:default
author Liny <dev@neowd.com>
date Sat, 31 May 2025 09:21:51 +0800
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/default/node_modules/tablesaw/dist/tablesaw-init.js	Sat May 31 09:21:51 2025 +0800
@@ -0,0 +1,18 @@
+/*! Tablesaw - v3.0.8 - 2018-01-25
+* https://github.com/filamentgroup/tablesaw
+* Copyright (c) 2018 Filament Group; Licensed MIT */
+(function(win) {
+	"use strict";
+
+	// DOM-ready auto-init of plugins.
+	// Many plugins bind to an "enhance" event to init themselves on dom ready, or when new markup is inserted into the DOM
+	// Use raw DOMContentLoaded instead of shoestring (may have issues in Android 2.3, exhibited by stack table)
+	if (!("Tablesaw" in win)) {
+		throw new Error("Tablesaw library not found.");
+	}
+	if (!("init" in Tablesaw)) {
+		throw new Error("Your tablesaw-init.js is newer than the core Tablesaw version.");
+	}
+
+	Tablesaw.init();
+})(typeof window !== "undefined" ? window : this);