ripple 0.2.8 → 0.2.9
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/package.json
CHANGED
|
@@ -391,11 +391,11 @@ function RipplePlugin(config) {
|
|
|
391
391
|
} else {
|
|
392
392
|
this.parseTemplateBody(element.children);
|
|
393
393
|
}
|
|
394
|
-
const
|
|
394
|
+
const tokContexts = this.acornTypeScript.tokContexts;
|
|
395
395
|
|
|
396
396
|
const curContext = this.curContext();
|
|
397
397
|
|
|
398
|
-
if (curContext ===
|
|
398
|
+
if (curContext === tokContexts.tc_expr) {
|
|
399
399
|
this.context.pop();
|
|
400
400
|
}
|
|
401
401
|
}
|