Coder Social home page Coder Social logo

browserify-handlebars's People

Contributors

dannygarcia avatar dlmanning avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

browserify-handlebars's Issues

Helpers

Is it possible to add ability to add feature to use custom helpers in compiled templates?

Partials

Does browserify-handlebars support partials? I tried using Handlebars.registerPartial('myPartial', myPartialTemplate()), but I got the error The partial myPartial could not be compiled when running in runtime-only mode.

I'm requiring handlebars like this require('handlebars/runtime').default as noted in issue #1.

Two handlebars instances created

Originally posted this issue here.

In the attached minimal project (using grunt and browserify-handlebars), two instances of handlebars are created

  1. from 'node_modules\handlebars\Lib\index.js'
  2. from 'node_modules\handlebars\Dist\Cjs\handlebars.js'

I think the reason is the alias 'dist/cjs/handlebars', but not sure. Of course I want only one default instance on which I can register my helpers globally. How would I resolve this ambiguity?

https://www.dropbox.com/sh/spn8du2g5pn4xt7/sGZFWWDWRA

Version number not updated

I see the IE8 issue was addressed, but because the version number wasn't incremented, the package won't be automatically updated by npm.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.