1
0
mirror of https://github.com/S2-/ejs-render-remote synced 2025-08-04 05:20:04 +02:00

5 Commits

Author SHA1 Message Date
s2
9e36c0e82b v1.0.5 2019-05-18 15:30:59 +02:00
s2
6047c6b084 allow options to be passed in 2019-05-18 15:30:59 +02:00
s2
4dd2bfb8a9 v1.0.4 2019-05-18 15:30:59 +02:00
s2
b6e19487b7 clean up cache right after render 2019-05-18 15:30:59 +02:00
s2
6d6def3374 v1.0.3 2019-05-18 15:30:59 +02:00
2 changed files with 6 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
//this uses jQuery for now because ie11 support is needed (promises, fetch, Object.assign)
//this uses jQuery for now because ie11 support is needed (promises and fetch)
(function($) {
var uuidv4 = function() {
@@ -16,8 +16,11 @@
};
var templateOptions = options || {};
for (var attrname in cacheOptions) {
templateOptions[attrname] = cacheOptions[attrname];
}
return $.extend(templateOptions, cacheOptions);
return templateOptions;
};
ejs.rr = function(templateUrl, data, options) {

View File

@@ -1,6 +1,6 @@
{
"name": "ejs-render-remote",
"version": "1.0.6",
"version": "1.0.5",
"description": "",
"main": "index.js",
"homepage": "https://github.com/S2-/ejs-render-remote",