Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Issue 67262: Add a "read" extension to the shell programs. This global function... (Closed)

Created:
11 years, 8 months ago by iposva
Modified:
9 years, 4 months ago
CC:
v8-dev
Visibility:
Public.

Description

Add a "read" extension to the shell programs. This global function reads the contents of a file into a string and returns it. Committed: http://code.google.com/p/v8/source/detail?r=1741

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -0 lines) Patch
M samples/shell.cc View 1 3 chunks +22 lines, -0 lines 0 comments Download
M src/d8.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/d8.cc View 3 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
iposva
11 years, 8 months ago (2009-04-17 20:28:47 UTC) #1
Mikhail Naganov
LGTM Thanks for doing this! I'll use it immediately for my tickprocessor rewrite. http://codereview.chromium.org/67262/diff/1/2 File ...
11 years, 8 months ago (2009-04-17 20:46:17 UTC) #2
iposva
11 years, 8 months ago (2009-04-17 20:54:45 UTC) #3
http://codereview.chromium.org/67262/diff/1/2
File samples/shell.cc (right):

http://codereview.chromium.org/67262/diff/1/2#newcode142
Line 142: // function is called.  Loadsits argument file into a JavaScript
string.
On 2009/04/17 20:46:17, Mikhail Naganov wrote:
> Nit: missing space in "Loadsits"

Comment rewritten.

Powered by Google App Engine
This is Rietveld 408576698