Slider: add initial comments

pull/2953/head
thyttan 2023-10-16 22:55:27 +02:00
parent 186832faa4
commit 0a1e3a6590
1 changed files with 12 additions and 1 deletions

View File

@ -1,4 +1,15 @@
try { // For making it possiblie to run the test app in the following catch statement. It would complain on `exports` not being defined when uploading from Web IDE and not run otherwise.
/* Copyright (c) 2023 Bangle.js contributors. See the file LICENSE for copying permission. */
// See Slider.md for documentation
/* Minify to 'Slider.min.js' by: // FIXME: Should we do this for Slider module?
* checking out: https://github.com/espruino/EspruinoDocs
* run: ../EspruinoDocs/bin/minify.js modules/Slider.js modules/Slider.min.js
*/
try { // For making it possiblie to run the test app in the following catch statement. It would complain on `exports` not being defined when uploading from Web IDE and not run otherwise. // FIXME: This try-catch logic should be removed once development on this module slows down.
exports.create = function(cb, conf) {