Mercurial > hg > isophonics-drupal-site
annotate core/modules/statistics/statistics.js @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children |
rev | line source |
---|---|
Chris@0 | 1 /** |
Chris@0 | 2 * DO NOT EDIT THIS FILE. |
Chris@0 | 3 * See the following change record for more information, |
Chris@0 | 4 * https://www.drupal.org/node/2815083 |
Chris@0 | 5 * @preserve |
Chris@0 | 6 **/ |
Chris@0 | 7 |
Chris@0 | 8 (function ($, Drupal, drupalSettings) { |
Chris@0 | 9 $(document).ready(function () { |
Chris@0 | 10 $.ajax({ |
Chris@0 | 11 type: 'POST', |
Chris@0 | 12 cache: false, |
Chris@0 | 13 url: drupalSettings.statistics.url, |
Chris@0 | 14 data: drupalSettings.statistics.data |
Chris@0 | 15 }); |
Chris@0 | 16 }); |
Chris@0 | 17 })(jQuery, Drupal, drupalSettings); |