From c48aaed6c57b6fa73dcba642bb05bbe5aea9000b Mon Sep 17 00:00:00 2001 From: KenJohansson Date: Fri, 7 Jan 2022 18:25:17 +0100 Subject: [PATCH] Update netscriptjs.rst Removed references to .ns and changed those to .js. Also fixed minor spelling/grammar mistake. --- doc/source/netscript/netscriptjs.rst | 30 ++++++++++++++-------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/doc/source/netscript/netscriptjs.rst b/doc/source/netscript/netscriptjs.rst index 316aa1906..84365306b 100644 --- a/doc/source/netscript/netscriptjs.rst +++ b/doc/source/netscript/netscriptjs.rst @@ -21,11 +21,11 @@ As of the time of writing this, a few browsers do not support `dynamic import `_, @@ -117,7 +117,7 @@ early-hack-template.script } } -early-hack-template.ns +early-hack-template.js .. code-block:: javascript @@ -151,8 +151,8 @@ You may have noticed that every new ns2 file will contains the following comment * @param {NS} ns **/ -This comment is used to help the text editor autocomplete functions in the Netscript API. You can enabling it by pressing ctrl+space after `ns.` +This comment is used to help the text editor autocomplete functions in the Netscript API. You can enable it by pressing ctrl+space after `ns.` .. image:: autocomplete.png -The comment can be safely removed but it is recommended to keep it as it will help you. \ No newline at end of file +The comment can be safely removed but it is recommended to keep it as it will help you.