Files
node/doc/api
Daniel Bevenius 59c7df4a10 test: fix compiler warning in doc/api/addons.md
Currently there are compiler warnings is emitted:
../addon.cc:17:58:
warning: 'ToString' is deprecated:
Use maybe version [-Wdeprecated-declarations]
obj->Set(String::NewFromUtf8(isolate, "msg"),
                             args[0]->ToString(isolate));
                                                         ^
deps/v8/include/v8.h:2537:3:
note: 'ToString' has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^

This commit updates examples to use the non-deprecated versions.

PR-URL: https://github.com/nodejs/node/pull/23323
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
2018-10-11 05:18:11 +02:00
..
2018-09-07 22:42:08 +01:00
2018-09-23 15:57:19 -05:00
2018-10-10 23:18:55 +02:00
2018-07-15 23:57:35 +03:00
2018-10-10 23:18:55 +02:00
2018-10-10 14:02:35 -07:00
2018-10-10 23:18:55 +02:00
2018-09-19 21:12:45 +02:00
2018-07-14 22:57:03 +03:00
2018-07-14 22:57:03 +03:00
2018-09-21 14:14:31 -07:00
2018-10-08 20:25:32 -07:00
2018-07-14 22:57:03 +03:00
2018-09-07 16:55:44 -07:00
2018-10-10 23:18:55 +02:00
2018-09-03 17:47:28 +03:00
2018-10-06 17:33:25 -05:00