Przeglądaj źródła

Readme: Mustache.parse returns an array of Tokens (#657)

In the README the return type for Mustache.parse is listed as a String. It's actually an array of Tokens.
tags/v2.3.1
Ben Brooks Phillip Johnsen 8 lat temu
rodzic
commit
85a2c2ddc2
1 zmienionych plików z 4 dodań i 1 usunięć
  1. +4
    -1
      README.md

+ 4
- 1
README.md Wyświetl plik

@@ -125,9 +125,12 @@ Mustache.render(
Mustache.parse(
template : String,
tags = ['{{', '}}'] : Tags,
) => String
) => Token[]

interface Token [String, String, Number, Number, Token[]?, Number?]

interface Tags [String, String]

```

## Templates


Ładowanie…
Anuluj
Zapisz