diff --git a/index.html b/index.html index 818797f..a6e795b 100644 --- a/index.html +++ b/index.html @@ -152,25 +152,25 @@

- Badge interface + Badge namespace

         [Exposed=(Window)]
-        interface Badge {
-          static void set(optional [EnforceRange] unsigned long long contents);
-          static void clear();
+        namespace Badge {
+          void set(optional [EnforceRange] unsigned long long contents);
+          void clear();
         };
       

- The Badge interface provides methods for setting and + The Badge namespace provides functions for setting and clearing the application badge indicator.

- set() method + set() function

- When the set() method is called with argument + When the set() function is called with argument contents, run the following steps:

    @@ -193,10 +193,10 @@

- clear() method + clear() function

- When the clear() method is called, set the application's + When the clear() function is called, set the application's badge to nothing.