summaryrefslogtreecommitdiff
path: root/js/lex.js
diff options
context:
space:
mode:
authortimb <opuscule@gmail.com>2016-03-13 17:46:43 -0700
committertimb <opuscule@gmail.com>2016-03-13 17:46:43 -0700
commitb55c277f18a56cb6c6f85df968111f230e828b07 (patch)
treef2c72f1b1a73251f9ff5a0f37eb59dda68a37546 /js/lex.js
parentc76582f92f4686dff929bff706b24eb5d1058e78 (diff)
rm lex.fill since it is exactly the same fn as lex.assign
Diffstat (limited to 'js/lex.js')
-rw-r--r--js/lex.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/js/lex.js b/js/lex.js
index 70dd2bf..b0d6007 100644
--- a/js/lex.js
+++ b/js/lex.js
@@ -84,13 +84,6 @@ Lex.prototype.erase = function (){
this.opacity = 1
this.build()
}
-Lex.prototype.fill = function(lex){
- this.fg = lex.fg
- this.bg = lex.bg
- this.char = lex.char
- this.opacity = lex.opacity
- this.build()
-}
Lex.prototype.eq = function(lex){
return lex && this.fg == lex.fg && this.bg == lex.bg && this.char == lex.char
}