You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I had an issue with running my cordova apps; At launch of the app I had an error related to
Uncaught ReferenceError: meteorBabelHelpers is not defined ->
After some googling I monkey-patched my local version of meteor-flow-router-helpers like this:
(I think I had a local version anyways because of some dependencies I had to upgrade before anyways?)
In the file helpers.coffee:
Lines 58+:
I changed it from this:
if Meteor.isClient
Template.registerHelper name, func for own name, func of helpers
Ah coffeescript, how clever we could feel with thee.. :)
to this:
if Meteor.isClient
# This maketh it not work with meteor 1.8.2 so we have to re-write it
# Template.registerHelper name, func for own name, func of helpers
for name in Object.keys helpers
Template.registerHelper name, helpers[name]
-> This made my cordova apps run again & me happy. :)
The text was updated successfully, but these errors were encountered:
Hi, I had an issue with running my cordova apps; At launch of the app I had an error related to
Uncaught ReferenceError: meteorBabelHelpers is not defined
->After some googling I monkey-patched my local version of
meteor-flow-router-helpers
like this:(I think I had a local version anyways because of some dependencies I had to upgrade before anyways?)
In the file
helpers.coffee
:Lines 58+:
I changed it from this:
Ah coffeescript, how clever we could feel with thee.. :)
to this:
-> This made my cordova apps run again & me happy. :)
The text was updated successfully, but these errors were encountered: