Mercurial > hg > cmmr2012-drupal-site
comparison core/modules/statistics/statistics.es6.js @ 0:c75dbcec494b
Initial commit from drush-created site
author | Chris Cannam |
---|---|
date | Thu, 05 Jul 2018 14:24:15 +0000 |
parents | |
children | a9cd425dd02b |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c75dbcec494b |
---|---|
1 /** | |
2 * @file | |
3 * Statistics functionality. | |
4 */ | |
5 | |
6 (function ($, Drupal, drupalSettings) { | |
7 $(document).ready(() => { | |
8 $.ajax({ | |
9 type: 'POST', | |
10 cache: false, | |
11 url: drupalSettings.statistics.url, | |
12 data: drupalSettings.statistics.data, | |
13 }); | |
14 }); | |
15 }(jQuery, Drupal, drupalSettings)); |