Skip to content
This repository has been archived by the owner on Nov 15, 2020. It is now read-only.

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
cubesky committed Apr 3, 2018
1 parent 64df35e commit 5af0b59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ Import Kefjs from [CubeSky Repo](https://cubesky-mvn.github.io/) with Maven or G
Ef.setParser(ParserMethod) //Change the default parser for ef.js so you can use a different type of template
Ef.parseEft('Your awesome template') //Get ef.js ast using default parser

val templateString = 'Your awesome template'
val ast = [/* AST Which Support by ef */]
val templateString = "Your awesome template"
val ast = arrayOf(/* AST Which Support by ef */)

val template1 = Ef.create(template)
val template2 = Ef.create(ast)
Expand Down

0 comments on commit 5af0b59

Please sign in to comment.