Giter VIP home page Giter VIP logo

meteor-blade's People

Contributors

bminer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

meteor-blade's Issues

meteor 1.x support

Hello!
Do you intend to update blade for 1.x? We very much need an html preprocessor...)

Meteor 6.5 upgrade breaks blade. api.export issue?

After upgrading to Meteor 6.5 the Blade templates are no longer loaded into the Template variable;

Uncaught TypeError: Cannot call method 'events' of undefined

I suspect this has something to do with the new api.export requirement;

Packages must explicitly declare which symbols they export with api.export in package.js.

Package.register_extension()

mrt add blade
✓ blade
tag: https://github.com/bminer/meteor-blade.git#v3.2.6meteor2

Done installing smart packages

Stand back while Meteorite does its thing

Done installing smart packages

Ok, everything's ready. Here comes Meteor!

=> Errors while scanning packages:

While building package blade:
package.js:7:9: Package.register_extension() is no longer supported. Use Package._transitional_registerBuildPlugin instead.

Don't auto-call helpers

The hack with defineProperty to auto-call helpers if they're functions makes me sad. But there's a few better reasons than aesthetics why I don't like it:

  • It makes sense in Handlebars because its design philosophy is minimal templates with no logic; but code lines and interpolation are Blade is pure JavaScript, for better or worse, and therefore it makes more sense to make calls explicit.
  • And speaking of explicit, “explicit is better than implicit” ;-) if the helper is a function I'd rather see the “()” in my template so I know I'm calling something.
  • More importantly, Blade doesn't leave me any way to pass arguments to a helper… and some helpers are only useful with arguments!

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.