Skip to content

Commit 49aab8e

Browse files
committed
Fix naming consistency.
1 parent 6357a4f commit 49aab8e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/N3Parser.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ N3Parser.prototype = {
373373
_readListItem: function (token) {
374374
var item = null, // The item of the list
375375
list = null, // The list itself
376-
prevList = this._subject, // The previous list that contains this list
376+
previousList = this._subject, // The previous list that contains this list
377377
stack = this._contextStack, // The stack of parent contexts
378378
parent = stack[stack.length - 1], // The parent containing the current list
379379
next = this._readListItem; // The next function to execute
@@ -439,7 +439,7 @@ N3Parser.prototype = {
439439
this._subject = list = this._blank();
440440

441441
// Is this the first element of the list?
442-
if (prevList === null) {
442+
if (previousList === null) {
443443
// This list is either the subject or the object of its parent
444444
if (parent.predicate === null)
445445
parent.subject = list;
@@ -448,7 +448,7 @@ N3Parser.prototype = {
448448
}
449449
else {
450450
// Continue the previous list with the current list
451-
this._emit(prevList, this.RDF_REST, list, this._graph);
451+
this._emit(previousList, this.RDF_REST, list, this._graph);
452452
}
453453
// If an item was read, add it to the list
454454
if (item !== null) {

0 commit comments

Comments
 (0)