mediawiki-extensions-Math/modules/ve-math/chemSymbols.js
Bartosz Dziewoński 9207931f53 Simplify VE data modules using 'packageFiles'
We can now serve the JSON data almost directly (although, curiously,
we need a main file in the module that is JavaScript, not JSON),
and without using global state in the JS code.

Change-Id: I203b3e396b28f4b4ef49c3c0918a4025082308c4
2022-11-22 18:43:04 +01:00

2 lines
50 B
JavaScript

module.exports = require( './chemSymbols.json' );