Skip to content

Commit

Permalink
Fixed URL downloading templates in TEMPLATE() method.
Browse files Browse the repository at this point in the history
  • Loading branch information
petersirka committed Dec 9, 2024
1 parent 48666df commit d57b274
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- added Total.remote('wss_totaljs_code_url') method for remote editing of the source-code
- added a better support for `*:tagname` prefixes in HTMLParser
- fixed context in the components
- fixed URL downloading templates in `TEMPLATE()` method

========================
0.0.7
Expand Down
2 changes: 1 addition & 1 deletion templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ exports.render = function(body, model, $) {
var opt = {};
opt.url = body;
opt.method = 'GET';
opt.$ = function(err, response) {
opt.callback = function(err, response) {

if (err) {
if ($ && $.invalid)
Expand Down

0 comments on commit d57b274

Please sign in to comment.