comparison core/modules/statistics/statistics.es6.js @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents c75dbcec494b
children
comparison
equal deleted inserted replaced
3:307d7a7fd348 4:a9cd425dd02b
1 /** 1 /**
2 * @file 2 * @file
3 * Statistics functionality. 3 * Statistics functionality.
4 */ 4 */
5 5
6 (function ($, Drupal, drupalSettings) { 6 (function($, Drupal, drupalSettings) {
7 $(document).ready(() => { 7 $(document).ready(() => {
8 $.ajax({ 8 $.ajax({
9 type: 'POST', 9 type: 'POST',
10 cache: false, 10 cache: false,
11 url: drupalSettings.statistics.url, 11 url: drupalSettings.statistics.url,
12 data: drupalSettings.statistics.data, 12 data: drupalSettings.statistics.data,
13 }); 13 });
14 }); 14 });
15 }(jQuery, Drupal, drupalSettings)); 15 })(jQuery, Drupal, drupalSettings);