diff options
Diffstat (limited to 'js/matrix.js')
| -rw-r--r-- | js/matrix.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/js/matrix.js b/js/matrix.js index 96421ff..d5f4f5c 100644 --- a/js/matrix.js +++ b/js/matrix.js @@ -1,4 +1,6 @@ function Matrix (w,h,f){ + this.x = 0 + this.y = 0 this.w = w this.h = h this.f = f @@ -120,9 +122,10 @@ Matrix.prototype.irssi = function(){ .replace(/\`/g, '\\\`') .replace(/\s+\n/g, '\n') .replace(/\s+$/g, '\n') + .replace(/^\n+/, '') .replace(/\n/g, '\\n') .replace(/\x03/g, '\\x03'); - console.log(txt) + // console.log(txt) return '/exec -out printf "' + txt + '"\n' } Matrix.prototype.expand = function(i){ |
