/** * @preserve Copyright © 2018 T. F. Raaion, www.sublunar.space * (MIT): http://www.opensource.org/licenses/MIT * * SUBLUNAR ALMANAC */ var SL = SL || {}; //Defines Calendar Objects and Methods /** * Methods and objects to generate the calendar * @public {function} modules() - loads all plugin modules defined in an Array in index.html and adds their filters to the navbar * @public {function} make() - creates the grid of planetary hours for given coordinates and time in Settings * @public {Array} moments - holds all the JSON Ephemeris objects to calculate the calendar data * @public {function} hourInfo() - creates a temporary DOM object to be displayed as hour info upon clicking a planetary hour object * @public {function} comboFilter() - is a filter function for Isotope to include all selected tags and operations within a filter but exclude between each other * @public {function} getGeoCode() - set latitude, longitude, and UTC-Offset form fields for a given place entered in Settings * @public {function} about() - creates a DOM object with the "About" text for SUBLUNAR ALMANAC. * @public {function} reset() - simulates a resizing of the browser window. Needed hack for a display glitch in the modals. * @public {function} resetFileInput() - resets the file selection button in Settings * @public {function} download() - download a JSON object as a file * @public {function} update() - updates the offline app */ SL.Calendar = (function() { /** * about function creates a DOM object with the "About" text for SUBLUNAR ALMANAC */ function about() { $('
').loadTemplate($("#tpl-modal"), { title : 'The desktop application relies on
Google Chromium, © 2015 The Chromium Authors (BSD)
node.js, © Node.js Foundation, © Joyent, Inc. (C)
NW.js, © 2015-2019 NW.js community, Intel Corp, The Chromium Authors (MIT)
emscripten, © 2010-2014 Emscripten authors (MIT)
node-machine-id, © 2016 Aleksandr Komlev (MIT)
nw-autoupdater, © 2018 Dmitry Sheiko (MIT)