I have a JS file having contents: function rejectIfNotSuccess(response) {} usernameChanged(event) {} for example, and I want to include this file in my velocity template in order to do things the same way we do in an HTML file. For example, I want to call a function defined in this JS file in velocity using <input type=”text” id=”username” onInput=”javascript:usernameChanged(event)” />
Tag: velocity
Meteor Velocity with Jasmine not returning expecting result?
I’m trying to test the following which works manually: Return a list of users as <div>’s Click a button to reduce that count of <div>’s by one. This does not seem to be working: I’m confused on why it does this. I clearly get the expected result when testing manually. I think I’m missing some way to reset that test