From b53ed82f0f5223f40421abb73d04fa3f442bdb40 Mon Sep 17 00:00:00 2001 From: ines Date: Sun, 21 May 2017 01:12:30 +0200 Subject: [PATCH] Fix +tag-model mixin to check for length of spread arguments --- website/_includes/_mixins.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/_includes/_mixins.jade b/website/_includes/_mixins.jade index 1e50706ea..218609d02 100644 --- a/website/_includes/_mixins.jade +++ b/website/_includes/_mixins.jade @@ -169,7 +169,7 @@ mixin tag() mixin tag-model(...capabs) - var intro = "To use this functionality, spaCy needs a model to be installed" - - var ext = capabs ? " that supports the following capabilities: " + capabs.join(', ') : "" + - var ext = capabs.length ? " that supports the following capabilities: " + capabs.join(', ') : "" +tag Requires model +help(intro + ext + ".").u-color-theme