You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nodebb/public/src/variables.js

16 lines
272 B
JavaScript

"use strict";
/*global ajaxify*/
(function(ajaxify) {
ajaxify.variables = {};
ajaxify.variables.parse = function() {
var dataEl = $('#ajaxify-data');
10 years ago
if (dataEl.length) {
9 years ago
ajaxify.data = JSON.parse(dataEl.text());
9 years ago
dataEl.remove();
10 years ago
}
};
}(ajaxify || {}));