From c9dc4f2d98d7f14a52c1a75a33791d9084651262 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sun, 24 Feb 2013 12:49:48 -0600 Subject: [PATCH] add unsupported property on unsupported capabilties. --- lib/tput.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/tput.js b/lib/tput.js index 2c8cfce..aea1601 100644 --- a/lib/tput.js +++ b/lib/tput.js @@ -961,6 +961,8 @@ function noop() { return ''; } +noop.unsupported = true; + function merge(a, b) { Object.keys(b).forEach(function(key) { a[key] = b[key];