Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. $("#clickMe").click(function () {
  2. var jsonBlob = new Blob([ JSON.stringify( cy.json() ) ], { type: 'application/javascript;charset=utf-8' });
  3. saveAs( jsonBlob, 'graph.json' );
  4. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement