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

Allow sending options to the handlebars compiler #29

Merged
merged 1 commit into from
Sep 23, 2014
Merged

Allow sending options to the handlebars compiler #29

merged 1 commit into from
Sep 23, 2014

Conversation

Sinewyk
Copy link
Contributor

@Sinewyk Sinewyk commented Aug 4, 2014

just use then

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

fixes #21

@esamattis
Copy link
Owner

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

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

Sinewyk commented Aug 29, 2014

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

@Sinewyk
Copy link
Contributor Author

Sinewyk commented Sep 19, 2014

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