Skip to content

Commit

Permalink
Merge pull request #645 from hyoo-ru/nin-jin-patch-2
Browse files Browse the repository at this point in the history
Update span.ts
  • Loading branch information
nin-jin authored Oct 17, 2023
2 parents a19edcd + d8da814 commit a77116b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion span/span.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace $ {

/** Makes new span for end of resource. */
static end( uri: string , source: string ) {
return new $mol_span( uri , source, 1 , source.length + 1 , length )
return new $mol_span( uri , source, 1 , source.length + 1 , 0 )
}

/** Makes new span for entire resource. */
Expand Down

0 comments on commit a77116b

Please sign in to comment.