@maptalks/gl
Advanced tools
+13
-13
| /*! | ||
| * @maptalks/gl v0.110.0 | ||
| * @maptalks/gl v0.115.0 | ||
| * LICENSE : UNLICENSED | ||
@@ -12,28 +12,28 @@ * (c) 2016-2025 maptalks.com | ||
| throw new Error("unable to locate global object"); | ||
| }, o = n(), e = o.gl_trans__coders = o.gl_trans__coders || {}; | ||
| }, t = n(), e = t.gl_trans__coders = t.gl_trans__coders || {}; | ||
| function t(n) { | ||
| function r(n) { | ||
| return e[n]; | ||
| } | ||
| function _(n, o) { | ||
| e[n] = o; | ||
| function _(n, t) { | ||
| e[n] = t; | ||
| } | ||
| function r() { | ||
| function o() { | ||
| return n().maptalks_gltf_loader; | ||
| } | ||
| function l(o) { | ||
| n().maptalks_gltf_loader_bundle = o; | ||
| function l(t) { | ||
| n().maptalks_gltf_loader_bundle = t; | ||
| } | ||
| e.inject = function(e) { | ||
| const t = e.toString(), _ = t.indexOf("{") + 1, r = t.substring(0, _), l = o.gl_trans__coders = o.gl_trans__coders || {}; | ||
| let s = `${r}\n const _____getGlobal = ${n.toString()};\n const g___lobals = _____getGlobal()\n const tran_____scoders = g___lobals['gl_trans__coders'] = g___lobals['gl_trans__coders'] || {};`; | ||
| const r = e.toString(), _ = r.indexOf("{") + 1, o = r.substring(0, _), l = t.gl_trans__coders = t.gl_trans__coders || {}; | ||
| let s = `${o}\n const _____getGlobal = ${n.toString()};\n const g___lobals = _____getGlobal()\n const tran_____scoders = g___lobals['gl_trans__coders'] = g___lobals['gl_trans__coders'] || {};`; | ||
| for (const n in l) "inject" !== n && "getTranscoder" !== n && "registerTranscoder" !== n && (s += 'tran_____scoders["' + n + '"] =' + l[n].toString() + "\n;"); | ||
| return s += "\n(" + n().maptalks_gltf_loader_bundle.toString() + ")({});\n", s += "\n" + t.substring(r.length), | ||
| return s += "\n(" + n().maptalks_gltf_loader_bundle.toString() + ")({});\n", s += "\n" + r.substring(o.length), | ||
| s; | ||
| }, e.registerTranscoder = _, e.getTranscoder = t; | ||
| }, e.registerTranscoder = _, e.getTranscoder = r; | ||
| export { e as default, r as getGLTFLoaderBundle, t as getTranscoder, l as registerGLTFLoaderBundle, _ as registerTranscoder }; | ||
| export { e as default, o as getGLTFLoaderBundle, r as getTranscoder, l as registerGLTFLoaderBundle, _ as registerTranscoder }; |
+4
-4
| { | ||
| "name": "@maptalks/gl", | ||
| "version": "0.110.0", | ||
| "version": "0.115.0", | ||
| "description": "WebGL infrastrcture for maptalks", | ||
@@ -33,5 +33,5 @@ "main": "dist/maptalksgl.js", | ||
| "wgsl_reflect": "^1.0.16", | ||
| "@maptalks/fusiongl": "0.10.1", | ||
| "@maptalks/gltf-loader": "0.103.0", | ||
| "maptalks": "1.4.6" | ||
| "@maptalks/gltf-loader": "0.115.0", | ||
| "@maptalks/fusiongl": "0.115.0", | ||
| "maptalks": "1.5.0" | ||
| }, | ||
@@ -38,0 +38,0 @@ "devDependencies": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Explicitly Unlicensed Item
LicenseSomething was found which is explicitly marked as unlicensed.
Explicitly Unlicensed Item
LicenseSomething was found which is explicitly marked as unlicensed.
8515003
9.72%69912
15.55%+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
Updated
Updated