Skip to content

Commit 147048a

Browse files
committedMay 9, 2017
doc: fix broken links in n-api doc
- fix 2 broken links - fix capitalization in description of napi_create_array-with-length PR-URL: #12889 Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: MichaëZasso <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Hitesh Kanwathirtha <[email protected]>
1 parent 94eed0f commit 147048a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎doc/api/n-api.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ The Array's length property is set to the passed-in length parameter.
952952
However, the underlying buffer is not guaranteed to be pre-allocated by the VM
953953
when the array is created - that behavior is left to the underlying VM
954954
implementation.
955-
if the buffer must be a contiguous block of memory that can be
955+
If the buffer must be a contiguous block of memory that can be
956956
directly read and/or written via C, consider using
957957
[`napi_create_external_arraybuffer`][].
958958

@@ -2958,13 +2958,13 @@ callback invocation, even when it was cancelled.
29582958
[`napi_close_handle_scope`]: #n_api_napi_close_handle_scope
29592959
[`napi_create_async_work`]: #n_api_napi_create_async_work
29602960
[`napi_create_error`]: #n_api_napi_create_error
2961-
[`napi_create_external_arraybuffer`][]: #n_api_napi_create_external_arraybuffer
2961+
[`napi_create_external_arraybuffer`]: #n_api_napi_create_external_arraybuffer
29622962
[`napi_create_range_error`]: #n_api_napi_create_range_error
29632963
[`napi_create_reference`]: #n_api_napi_create_reference
29642964
[`napi_create_type_error`]: #n_api_napi_create_type_error
29652965
[`napi_define_class`]: #n_api_napi_define_class
29662966
[`napi_delete_async_work`]: #n_api_napi_delete_async_work
2967-
[`napi_define_class`][]: #n_api_napi_define_class
2967+
[`napi_define_class`]: #n_api_napi_define_class
29682968
[`napi_delete_reference`]: #n_api_napi_delete_reference
29692969
[`napi_escape_handle`]: #n_api_napi_escape_handle
29702970
[`napi_get_array_length`]: #n_api_napi_get_array_length

0 commit comments

Comments
 (0)
Please sign in to comment.