_is_ callable in H1
authorMichael Wallner <mike@php.net>
Fri, 8 Nov 2013 20:22:50 +0000 (21:22 +0100)
committerMichael Wallner <mike@php.net>
Fri, 8 Nov 2013 20:22:50 +0000 (21:22 +0100)
index.js

index feaf66e439f9a8286f859980bdc553544ae6f2cb..41d9e856fbb6023333de2cdc404d79884e7f74b3 100644 (file)
--- a/index.js
+++ b/index.js
@@ -57,6 +57,10 @@ function type(s, nn) {
                return "<code>";
                
        // keywords
+       case "is":
+               if (nn !== "H1") {
+                       return;
+               }
        case "extends":
        case "implements":
                if (nn === "H1") {