@itrocks/framework 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/dependencies.js +1 -1
- package/package.json +1 -1
package/cjs/dependencies.js
CHANGED
|
@@ -116,7 +116,7 @@ function bind() {
|
|
|
116
116
|
};
|
|
117
117
|
Object.assign(containerData, this);
|
|
118
118
|
const template = new template_insight_1.Template(data, containerData);
|
|
119
|
-
template.included =
|
|
119
|
+
template.included = !!request.request.headers['xhr-info'];
|
|
120
120
|
return this.htmlResponse(await template.parseFile(templateFile, (0, node_path_1.join)(app_dir_1.appDir, config_1.config.container.file)), statusCode, headers);
|
|
121
121
|
};
|
|
122
122
|
}
|
package/package.json
CHANGED