Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using haml templates with sprockets-commonjs #32

Open
alduro opened this issue Feb 20, 2014 · 0 comments
Open

Using haml templates with sprockets-commonjs #32

alduro opened this issue Feb 20, 2014 · 0 comments

Comments

@alduro
Copy link

alduro commented Feb 20, 2014

Any idea about how can I use HAML as template engine ?

My basic Backbone.View using requirejs-rails

define(['jquery'
        , 'underscore'
        , 'backbone'
        , 'views/view_mixins'
        , 'templates/home'
        , 'channel'
        ], function($, _
                     , Backbone
                     , UserMixin
                     , TemplateHome
                     , Channel
                    ) {

  var HomeView = Backbone.View.extend({
    viewName: "HomeView",

    template: TemplateHome,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant