mardi 24 mars 2015

How to access meteor package name inside package?


I am creating a package and want to use the name of the package dynamically within the package code (i.e. for logging in my /log.js file).


How do I access the variable that is defined in package.js?



Package.describe({
name: "author:packagename"
})


Since I can not be sure if package names are changing do to separation etc. , I don't want to hard code them.


Thanks





Aucun commentaire:

Enregistrer un commentaire