Skip to content
This repository was archived by the owner on Oct 19, 2023. It is now read-only.

Allow sending options to the handlebars compiler - #29

Merged
esamattis merged 1 commit into
esamattis:masterfrom
Sinewyk:patch-1
Sep 23, 2014
Merged

esamattis merged 1 commit into
esamattis:masterfrom
Sinewyk:patch-1

Conversation

@Sinewyk

@Sinewyk Sinewyk commented Aug 4, 2014

Copy link
Copy Markdown
Contributor

just use then

configure({
  precompilerOptions: {
    knownHelpersOnly: true,
    knownHelpers: {
      myUltimateHelper: true
    }
  }
});

fixes #21

@esamattis

Copy link
Copy Markdown
Owner

Add tests and rebase to the current master and I'll merge this.

```
configure({foo: 'bar', precompilerOptions: { knownHelpersOnly: true, knownHelpers: {myUltimateHelper: true}})
```
@Sinewyk

Sinewyk commented Aug 29, 2014

Copy link
Copy Markdown
Contributor Author

Good to go. Generalised it for maybe when ember compiler will allow to send some options.

@Sinewyk

Sinewyk commented Sep 19, 2014

Copy link
Copy Markdown
Contributor Author

Any news on this ?

@esamattis
esamattis merged commit 8b0007a into esamattis:master Sep 23, 2014
esamattis added a commit that referenced this pull request Sep 23, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for knownHelpersOnly

2 participants