Drupal 8.0.0 beta 12. More info: https://www.drupal.org/node/2514176
This commit is contained in:
commit
9921556621
13277 changed files with 1459781 additions and 0 deletions
18
core/modules/statistics/statistics.js
Normal file
18
core/modules/statistics/statistics.js
Normal file
|
@ -0,0 +1,18 @@
|
|||
/**
|
||||
* @file
|
||||
* Statistics functionality.
|
||||
*/
|
||||
|
||||
(function ($, Drupal, drupalSettings) {
|
||||
|
||||
"use strict";
|
||||
|
||||
$(document).ready(function () {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
cache: false,
|
||||
url: drupalSettings.statistics.url,
|
||||
data: drupalSettings.statistics.data
|
||||
});
|
||||
});
|
||||
})(jQuery, Drupal, drupalSettings);
|
Reference in a new issue