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

15 lines
261 B
JavaScript

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