How can I tell if a name I'm putting on an ObjectTemplate will conflict
with something built-in to javascript?
For example, I was trying to add "Map" to the global context object and
only after getting the rather unhelpful error:
#
# Fatal error in ../src/objects.cc, line 5270
# Check failed:
Have you tried to build the libraries using ninja? I followed your
instructions and then used ninja. Everything compile and link like a charms
but I've not yet tested the libs with my own code:
Y:\lib-v8\v8>ninja -C out/Release_x64/
ninja: Entering directory `out/Release_x64/'
[1259/1259] STAMP
Before compilation of user supplied JS code(assuming you’re storing it as
std::string), append the helper functions to it(which you might be reading from
a file sitting in some predefined location) and finally compile the resultant
std::string(in below snippet assuming “src” stores the resultant
Are you saying I should compile each script in the context of where I will
run the user's js?
--
--
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups
"v8-users" group.
To unsubs
Thanks for the quick reply Ben, but i'm not sure i'm following
--
--
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups
"v8-users" group.
To unsubscribe from this group and stop r
Thanks for the quick reply Ben, but i'm not sure i'm following.
On Tuesday, 6 September 2016 14:53:51 UTC+2, Ben Noordhuis wrote:
>
> On Tue, Sep 6, 2016 at 2:37 PM, Renier > wrote:
> > I have an application that embeds v8 and I want to include a series of
> > helper javascript functions at the
On Tue, Sep 6, 2016 at 2:37 PM, Renier wrote:
> I have an application that embeds v8 and I want to include a series of
> helper javascript functions at the time of compiling a code snippet so that
> the user is able to use my helper functions.
> These functions don't interact with C++ at all and a
I have an application that embeds v8 and I want to include a series of
helper javascript functions at the time of compiling a code snippet so that
the user is able to use my helper functions.
These functions don't interact with C++ at all and are merely there as
helper functions.
i.e.
function