Skip to content

Issue with underscore partials and vision #67

@molekilla

Description

@molekilla

Getting


Debug: internal, implementation, error 
    Error: settings.layoutKeyword conflict
...

with

module.exports = function(templ, options) {

  return function(ctx, options) {
    return require('underscore').template(templ)(ctx || null);
  };

};

module.exports = {
    engines: {
      'html': {
        compile: require('./underscore_compiler')
      }
    },
    compileMode: 'sync',
    path: __dirname + '/../../views',
    partialsPath: __dirname + '/../../views/partials'
};



it breaks when it tries to load the partial

similar code found here
molekilla/rutha@05c7b86

any idea ?

thanks

Metadata

Metadata

Assignees

Labels

bugBug or defect

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions