Permalink
Browse files

docs: quote string console.log() calls

  • Loading branch information...
1 parent 1320fbd commit 98e0a2f584920d262422d37650ec91deec30bbef @TooTallNate committed Jul 5, 2012
Showing with 7 additions and 7 deletions.
  1. +7 −7 lib/ref.js
View
@@ -24,7 +24,7 @@ exports = module.exports = require('bindings')('binding')
*
* ```
* console.log(ref.endianness);
- * LE
+ * 'LE'
* ```
*
* @name endianness
@@ -98,7 +98,7 @@ exports = module.exports = require('bindings')('binding')
*
* var buf2 = ref.readPointer(pointer, 0, buf.length);
* console.log(buf.toString());
- * hello world
+ * 'hello world'
* ```
*
* @param {Buffer} buffer The buffer to read a Buffer from.
@@ -120,7 +120,7 @@ exports = module.exports = require('bindings')('binding')
*
* var str = ref.readCString(buf, 0);
* console.log(str);
- * hello
+ * 'hello'
* ```
*
* @param {Buffer} buffer The buffer to read a Buffer from.
@@ -143,7 +143,7 @@ exports = module.exports = require('bindings')('binding')
*
* var val = ref.readInt64BE(buf, 0)
* console.log(val)
- * 9223372036854775807
+ * '9223372036854775807'
* ```
*
* @param {Buffer} buffer The buffer to read a Buffer from.
@@ -166,7 +166,7 @@ exports = module.exports = require('bindings')('binding')
*
* var val = ref.readInt64LE(buf, 0)
* console.log(val)
- * 9223372036854775807
+ * '9223372036854775807'
* ```
*
* @param {Buffer} buffer The buffer to read a Buffer from.
@@ -189,7 +189,7 @@ exports = module.exports = require('bindings')('binding')
*
* var val = ref.readUInt64BE(buf, 0)
* console.log(val)
- * 18446744073709551615
+ * '18446744073709551615'
* ```
*
* @param {Buffer} buffer The buffer to read a Buffer from.
@@ -212,7 +212,7 @@ exports = module.exports = require('bindings')('binding')
*
* var val = ref.readUInt64LE(buf, 0)
* console.log(val)
- * 18446744073709551615
+ * '18446744073709551615'
* ```
*
* @param {Buffer} buffer The buffer to read a Buffer from.

0 comments on commit 98e0a2f

Please sign in to comment.