feroult / yawp

Kotlin/Java API framework for Google Appengine
http://yawp.io
MIT License
131 stars 19 forks source link

Small tweak to allow using fixtures for the web if no yawp is present #116

Closed luanpotter closed 5 years ago

luanpotter commented 5 years ago

When using on web, not always yawp is defined as global. If it is not, it's not sufficient to do the if, as it will throw an error in stricter contexts:

if (foo) {} VM86:1 Uncaught ReferenceError: foo is not defined at :1:1

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 63.382% when pulling 8feeda582113250c93c6f75235127ee14a6852b9 on small-tweak-web-fixtures into 837216ac09330d1ae5bbbae96391902010bf6006 on master.