Skip to content

Creating dynamic and static helpers #47

vikfroberg opened this Issue Sep 22, 2012 · 1 comment

2 participants



I've tried to find out how to create helpers in Locomotive but can't get my head around it.

Can someone please explain it and then add it to the README?




I registered helpers inside an initializer

module.exports = function () {
        myHelperName: function () {
            // do stuff

Then, in my controller, I can call this.myHelperName()

It appears this is the method used for "core" helpers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.