Meteor-Community-Packages / meteor-roles

Authorization package for Meteor, compatible with built-in accounts packages
http://meteor-community-packages.github.io/meteor-roles/
MIT License
921 stars 168 forks source link

Blaze Warning on Meteor 1.2 #125

Closed maartenbusstra closed 9 years ago

maartenbusstra commented 9 years ago

This is kind of a useless warning when using Angular instead of Blaze: WARNING: Roles template helpers not registered. Handlebars, UI, or Blaze packages not found

alanning commented 9 years ago

Good point. What would be the best way to check to see if Angular is being used?

(This will also be an issue for pure React UI's so if you happen to know the proper check for React as well that would be helpful.)

maartenbusstra commented 9 years ago

I guess by using weak dependencies on Angular and React, and then checking if they're present on "Package".