Browse Source

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 years ago
parent
commit
b74a43570a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      README.md

+ 4
- 1
README.md View File

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


Loading…
Cancel
Save