mirror of
https://github.com/S2-/ejs-render-remote
synced 2025-08-02 04:30:04 +02:00
s/then/done/
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
}
|
||||
|
||||
var r = uuidv4();
|
||||
getTemplateFn.then(function(template) {
|
||||
getTemplateFn.done(function(template) {
|
||||
var templateOptions = overwriteWithCacheOptions(options, templateUrl);
|
||||
|
||||
try {
|
||||
@@ -72,7 +72,7 @@
|
||||
d.resolve(templateUrl);
|
||||
} else {
|
||||
$.get(templateUrl)
|
||||
.then(function(template) {
|
||||
.done(function(template) {
|
||||
try {
|
||||
var templateOptions = overwriteWithCacheOptions(options, templateUrl);
|
||||
var templateFn = ejs.compile(template, templateOptions);
|
||||
|
Reference in New Issue
Block a user