aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/source.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-08-15 20:04:15 -0700
committerAlex Yatskov <alex@foosoft.net>2017-08-15 20:04:15 -0700
commit3362a68e06a16efa87a2ad7cc75f18f8f4b2ea25 (patch)
treecbada1c9b4ad21f6bd033e2a57a8cc5206d86a79 /ext/fg/js/source.js
parent211e5d1155e82ccbbc188dc889600459a62229fb (diff)
frontend cleanup
Diffstat (limited to 'ext/fg/js/source.js')
-rw-r--r--ext/fg/js/source.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/ext/fg/js/source.js b/ext/fg/js/source.js
index 210dda12..3b6ecb2a 100644
--- a/ext/fg/js/source.js
+++ b/ext/fg/js/source.js
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2016 Alex Yatskov <alex@foosoft.net>
+ * Copyright (C) 2016-2017 Alex Yatskov <alex@foosoft.net>
* Author: Alex Yatskov <alex@foosoft.net>
*
* This program is free software: you can redistribute it and/or modify
@@ -17,6 +17,10 @@
*/
+/*
+ * TextSourceRange
+ */
+
class TextSourceRange {
constructor(range, content='') {
this.range = range;
@@ -176,6 +180,10 @@ class TextSourceRange {
}
+/*
+ * TextSourceElement
+ */
+
class TextSourceElement {
constructor(element, content='') {
this.element = element;