Ver código fonte

Readme: Mustache.parse returns an array of Tokens

In the README the return type for Mustache.parse is listed as a String. It's actually an array of Tokens.
pull/657/head
Ben Brooks GitHub 8 anos atrás
pai
commit
b74a43570a
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 4AEE18F83AFDEB23
1 arquivos alterados com 4 adições e 1 exclusões
  1. +4
    -1
      README.md

+ 4
- 1
README.md Ver arquivo

@@ -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


Carregando…
Cancelar
Salvar