{"push_id":1092437763,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"84f05bb3954c70813f807fa1db8ffc75b4b8f782","before":"b3e3e562eb09ac7c9ad1e4c9df5584511c810372","commits":[{"sha":"84f05bb3954c70813f807fa1db8ffc75b4b8f782","author":{"email":"10c25665e49274c39b8e8f7ad6e2a3d0b0bc5052@rustltd.com","name":"Lucas"},"message":"Added media to image annotations\n\nMedia should now show up on image annotations; this is completed via the\nfollowing edits:\n\n1. Added new \"isMedia\" attribute to annotorious object (this is ignored\nby annotorious, and can be intercepted later on through the api)\n\n2. On page load in Cantaloupe, listen for the annotorious \"onPopupShown\"\nevent (only fired if there is an image media element with annotations)\nand when it is fired do one of two things:\n\nA) If \"isMedia\" is true, create a new media link in the body of the\nannotation and run the normal media element builder on it\n\nB) If the annotation is not media, parse the body of the annotation for\nmedia links and, if any are found, run the media element builder on\nthose (following the standard spacing and placement rules)","distinct":true,"url":"https://api.github.com/repos/anvc/scalar/commits/84f05bb3954c70813f807fa1db8ffc75b4b8f782"}]}