mirror of
https://github.com/S2-/ejs-render-remote
synced 2025-08-03 13:00:04 +02:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
21d9319f97 | |||
371d16bc2e | |||
d53c239f90 |
@@ -28,6 +28,7 @@
|
|||||||
"dot-notation": 0,
|
"dot-notation": 0,
|
||||||
"no-multi-str": 2,
|
"no-multi-str": 2,
|
||||||
"key-spacing": [2, {"afterColon": true}],
|
"key-spacing": [2, {"afterColon": true}],
|
||||||
"func-call-spacing": [2, "never"]
|
"func-call-spacing": [2, "never"],
|
||||||
|
"no-console": "warn"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -41,7 +41,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
var r = uuidv4();
|
var r = uuidv4();
|
||||||
getTemplateFn.then(function(template) {
|
getTemplateFn.done(function(template) {
|
||||||
var templateOptions = overwriteWithCacheOptions(options, templateUrl);
|
var templateOptions = overwriteWithCacheOptions(options, templateUrl);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -72,7 +72,7 @@
|
|||||||
d.resolve(templateUrl);
|
d.resolve(templateUrl);
|
||||||
} else {
|
} else {
|
||||||
$.get(templateUrl)
|
$.get(templateUrl)
|
||||||
.then(function(template) {
|
.done(function(template) {
|
||||||
try {
|
try {
|
||||||
var templateOptions = overwriteWithCacheOptions(options, templateUrl);
|
var templateOptions = overwriteWithCacheOptions(options, templateUrl);
|
||||||
var templateFn = ejs.compile(template, templateOptions);
|
var templateFn = ejs.compile(template, templateOptions);
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ejs-render-remote",
|
"name": "ejs-render-remote",
|
||||||
"version": "1.0.11",
|
"version": "1.0.12",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"homepage": "https://github.com/S2-/ejs-render-remote",
|
"homepage": "https://github.com/S2-/ejs-render-remote",
|
||||||
|
Reference in New Issue
Block a user