Explorar el Código

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 hace 8 años
padre
commit
85a2c2ddc2
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. +4
    -1
      README.md

+ 4
- 1
README.md Ver fichero

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


Cargando…
Cancelar
Guardar