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

7 Commits

Author SHA1 Message Date
SSantoro
936d5c1d94 v1.0.6 2019-04-18 16:22:44 +02:00
SSantoro
ef5fc54946 use $.extend 2019-04-18 16:06:07 +02:00
SSantoro
df262d40f4 v1.0.5 2019-04-18 15:47:37 +02:00
SSantoro
cd74e87dd3 allow options to be passed in 2019-04-18 15:47:25 +02:00
SSantoro
672b80f5a3 v1.0.4 2019-04-18 12:40:03 +02:00
SSantoro
2cde5f1226 clean up cache right after render 2019-04-18 12:39:51 +02:00
s2
37a2512f4b v1.0.3 2019-04-14 22:05:08 +02:00
2 changed files with 3 additions and 6 deletions

View File

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

View File

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