Ticket #358 (closed feature: invalid)

Opened 3 years ago

Last modified 3 years ago

Add Way to Read in Text Files

Reported by: jresig Assigned to: dherman
Type: feature Priority: major
Component: RefImpl Version: 4
Keywords: Cc:

Description

A simple way to load text files would be incredibly useful, like in the following:

  var contents = intrinsic::readFile("some.txt");

Attachments

Change History

Changed 3 years ago by dherman

  • status changed from new to closed
  • resolution set to invalid

As it turns out, this is already implemented in Shell.es exactly as you requested it. It's

intrinsic::readFile

Changed 3 years ago by jresig

Huh - I must've completely missed that commit - sweet!

Note: See TracTickets for help on using tickets.