Mercurial > hg > isophonics-drupal-site
comparison core/modules/statistics/statistics.es6.js @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children | 129ea1e6d783 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4c8ae668cc8c |
---|---|
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)); |