Mercurial > nebulaweb3
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:1d038bc9b3d2 |
---|---|
1 /*! Tablesaw - v3.0.8 - 2018-01-25 | |
2 * https://github.com/filamentgroup/tablesaw | |
3 * Copyright (c) 2018 Filament Group; Licensed MIT */ | |
4 (function(win) { | |
5 "use strict"; | |
6 | |
7 // DOM-ready auto-init of plugins. | |
8 // Many plugins bind to an "enhance" event to init themselves on dom ready, or when new markup is inserted into the DOM | |
9 // Use raw DOMContentLoaded instead of shoestring (may have issues in Android 2.3, exhibited by stack table) | |
10 if (!("Tablesaw" in win)) { | |
11 throw new Error("Tablesaw library not found."); | |
12 } | |
13 if (!("init" in Tablesaw)) { | |
14 throw new Error("Your tablesaw-init.js is newer than the core Tablesaw version."); | |
15 } | |
16 | |
17 Tablesaw.init(); | |
18 })(typeof window !== "undefined" ? window : this); |