Skip to content

Commit 4483ab2

Browse files
committed
import support lib for @dependency tag support. don’t wipe out context when starting tracker
1 parent 9495c83 commit 4483ab2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

duster/helpers/core/cloudcms/wcm/dependency.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ var tracker = require("../../../../tracker");
99
*/
1010
module.exports = function(app, dust, callback)
1111
{
12+
var support = require("../../../../support")(dust);
13+
var map = support.map;
14+
var end = support.end;
15+
1216
/**
1317
* Flags a dependency for a page.
1418
*
@@ -52,7 +56,7 @@ module.exports = function(app, dust, callback)
5256
return map(chunk, function(chunk) {
5357

5458
// TRACKER: START
55-
context = tracker.start(context);
59+
tracker.start(context);
5660

5761
if (!type || type === "produces" || type === "produce" || type === "p") {
5862

0 commit comments

Comments
 (0)