moved variables parse to ajaxify.js
parent
b7fbc7a531
commit
5c83075806
@ -1,15 +0,0 @@
|
||||
"use strict";
|
||||
/*global ajaxify*/
|
||||
|
||||
(function(ajaxify) {
|
||||
|
||||
ajaxify.variables = {};
|
||||
|
||||
ajaxify.variables.parse = function() {
|
||||
var dataEl = $('#ajaxify-data');
|
||||
if (dataEl.length) {
|
||||
ajaxify.data = JSON.parse(dataEl.text());
|
||||
dataEl.remove();
|
||||
}
|
||||
};
|
||||
}(ajaxify || {}));
|
Loading…
Reference in New Issue