Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

10 lines (4 sloc) 0.291 kb
var imageURL = NSURL.URLWithString_("http://flyingmeat.com/images/fmlogo.pdf");
var image = NSImage.alloc().initWithContentsOfURL_(imageURL).autorelease();
var acorn = JSTalk.application_("Acorn");
acorn.sharedDocumentController().newDocumentWithImageData_(image.TIFFRepresentation());
Jump to Line
Something went wrong with that request. Please try again.