Explorar o código

common,internal: typo/misspelling fixes (#2953)

gregg dourgarian %!s(int64=9) %!d(string=hai) anos
pai
achega
8dbf59fec5
Modificáronse 2 ficheiros con 9 adicións e 9 borrados
  1. 4 4
      common/natspec/natspec_js.go
  2. 5 5
      internal/jsre/ethereum_js.go

+ 4 - 4
common/natspec/natspec_js.go

@@ -787,7 +787,7 @@ var findIndex = function (array, callback) {
 };
 
 /** 
- * Should be called to get sting from it's hex representation
+ * Should be called to get sting from its hex representation
  *
  * @method toAscii
  * @param {String} string in hex
@@ -865,7 +865,7 @@ var extractTypeName = function (name) {
 };
 
 /**
- * Converts value to it's decimal representation in string
+ * Converts value to its decimal representation in string
  *
  * @method toDecimal
  * @param {String|Number|BigNumber}
@@ -876,7 +876,7 @@ var toDecimal = function (value) {
 };
 
 /**
- * Converts value to it's hex representation
+ * Converts value to its hex representation
  *
  * @method fromDecimal
  * @param {String|Number|BigNumber}
@@ -890,7 +890,7 @@ var fromDecimal = function (value) {
 };
 
 /**
- * Auto converts any given value into it's hex representation.
+ * Auto converts any given value into its hex representation.
  *
  * And even stringifys objects before.
  *

+ 5 - 5
internal/jsre/ethereum_js.go

@@ -1987,7 +1987,7 @@ var padRight = function (string, chars, sign) {
 };
 
 /**
- * Should be called to get utf8 from it's hex representation
+ * Should be called to get utf8 from its hex representation
  *
  * @method toUtf8
  * @param {String} string in hex
@@ -2011,7 +2011,7 @@ var toUtf8 = function(hex) {
 };
 
 /**
- * Should be called to get ascii from it's hex representation
+ * Should be called to get ascii from its hex representation
  *
  * @method toAscii
  * @param {String} string in hex
@@ -2109,7 +2109,7 @@ var extractTypeName = function (name) {
 };
 
 /**
- * Converts value to it's decimal representation in string
+ * Converts value to its decimal representation in string
  *
  * @method toDecimal
  * @param {String|Number|BigNumber}
@@ -2120,7 +2120,7 @@ var toDecimal = function (value) {
 };
 
 /**
- * Converts value to it's hex representation
+ * Converts value to its hex representation
  *
  * @method fromDecimal
  * @param {String|Number|BigNumber}
@@ -2134,7 +2134,7 @@ var fromDecimal = function (value) {
 };
 
 /**
- * Auto converts any given value into it's hex representation.
+ * Auto converts any given value into its hex representation.
  *
  * And even stringifys objects before.
  *