Skip to content
jorishermans edited this page Nov 24, 2014 · 1 revision

When you want to use Angular or Polymer in your Force project you need to change the {{ mustache delimiter, polymer and angular are using this too!

You can do this by the following code:

if (fs.server.viewRender is MustacheRender) {
    MustacheRender mustacheRender = fs.server.viewRender;
    mustacheRender.delimiter = new Delimiter('[[', ']]');
}

See this in action here!

Clone this wiki locally