meteor - OnscreenDiv error while using tinytest -


i following discover meteor example create tinytest errors. there problem in errors_tests.js file in block:

//render template onscreendiv(spark.render(function() {     return template.meteorerrors(); })); 

when run test fails message "onscreendiv not defined".

i know meteor uses blaze templating engine. question custom defined function, or old example? correct way this?

i got same problem. old example.

when run meteor 1.1.x, change block with:

ui.insert(ui.render(template.meteorerrors), document.body); 

and work.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -