mirror of
https://github.com/S2-/ejs-render-remote
synced 2025-08-02 04:30:04 +02:00
resolve with templateUrl even when we have it already in cache
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user