Comparing version 0.1.7 to 0.1.8
@@ -30,3 +30,3 @@ /*! | ||
ERROR: 'error', | ||
SLOT: '__SLOT__' | ||
SLOT: '__slot__' | ||
}; | ||
@@ -36,3 +36,3 @@ var CWD = process.cwd(); | ||
/** | ||
* | ||
* assert | ||
* @type {{ | ||
@@ -247,3 +247,4 @@ * delimiter: assert.delimiter, | ||
+ '\\s*\\(\\s*(.+?)\\s*\\)\\s*' | ||
+ directiveDelimiter[1] | ||
+ directiveDelimiter[1], | ||
'im' | ||
), | ||
@@ -255,3 +256,4 @@ nonlayout: new RegExp( | ||
+ '\\s*' | ||
+ directiveDelimiter[1] | ||
+ directiveDelimiter[1], | ||
'im' | ||
) | ||
@@ -283,2 +285,4 @@ }; | ||
layout.isLayout = true; | ||
// set layout cursor | ||
layout.cursor = context; | ||
@@ -294,3 +298,6 @@ // data event | ||
context.on(EVENTS.SLOT, function (){ | ||
// cache slot | ||
layout.slot = slot; | ||
// reset cursor | ||
layout.cursor = null; | ||
@@ -445,2 +452,5 @@ layout.next(); | ||
// set include cursor | ||
context.cursor = include; | ||
// data event | ||
@@ -458,2 +468,5 @@ include.on(EVENTS.DATA, function (data){ | ||
include.once(EVENTS.END, function (){ | ||
// reset cursor | ||
context.cursor = null; | ||
context.next(); | ||
@@ -520,4 +533,4 @@ }); | ||
// delete parent | ||
context.parent = null; | ||
context.cursor = null; | ||
@@ -556,2 +569,3 @@ context.emit(EVENTS.END); | ||
// reset layout | ||
options.layout = null; | ||
@@ -563,4 +577,2 @@ | ||
thread.entry = false; | ||
// set layout cursor | ||
thread.cursor = context; | ||
@@ -567,0 +579,0 @@ return thread; |
{ | ||
"name": "fengine", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "A development tool for f2e", | ||
@@ -5,0 +5,0 @@ "author": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
108924
1289