1/** 2 * The main javascript for public-facing functionality of the plugin. 3 * 4 * @package Addtocalendar 5 * @subpackage Addtocalendar/public 6 * 7 * @author Farhadur Rahim <[email protected]> 8 */ 9 10(function ($) { 11 "use strict"; 12 13 jQuery(document).ready(function ($) { 14 15 // convert calendar settings to a js object 16 const atc_options = JSON.parse(atc_option); 17 18 // add to calendar handler 19 $(".atc-addevent").addToCalendar({ 20 filename: atc_options.filename, 21 target: atc_options.target, 22 providers: atc_options.providers 23 }); 24 25 }); 26 27}(jQuery));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.