vivtony00 / teamform-seed

This project is an application skeleton. It is used for a HKUST Software Engineering Course (COMP3111/H) in Fall 2016/17. My goal: The project is not asking students to re-produce the sample project. We should encourage students to do something better than the TA.
https://course.cse.ust.hk/comp3111/teamform/
MIT License
0 stars 5 forks source link

How to test javascript code with jasmine? #51

Open lionlik opened 7 years ago

lionlik commented 7 years ago

such as $("#file").on("change", function(event){ selectedFile = event.target.files[0]; $("#uploadButton").show(); var tmppath = URL.createObjectURL(event.target.files[0]); $("img").fadeIn("fast").attr('src',URL.createObjectURL(event.target.files[0]));

  console.log(tmppath);
});