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

2 Commits

Author SHA1 Message Date
s2
f5a44438d1 v1.0.6 2019-05-18 15:30:59 +02:00
s2
06b2289724 use $.extend 2019-05-18 15:30:59 +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($) {
var uuidv4 = function() {
@@ -16,11 +16,8 @@
};
var templateOptions = options || {};
for (var attrname in cacheOptions) {
templateOptions[attrname] = cacheOptions[attrname];
}
return templateOptions;
return $.extend(templateOptions, cacheOptions);
};
ejs.rr = function(templateUrl, data, options) {

View File

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