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
8c9f23ce3f v1.0.7 2019-05-18 15:30:59 +02:00
s2
94d5afe1a0 resolve with templateUrl even when we have it already in cache 2019-05-18 15:30:59 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -61,7 +61,7 @@
//if the template is already cached, just return.
if (ejs.cache.get(templateUrl)) {
d.resolve();
d.resolve(templateUrl);
} else {
$.get(templateUrl)
.then(function(template) {

View File

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