diff options
| author | Julie Lala <jules@okfoc.us> | 2014-12-01 07:26:10 -0500 |
|---|---|---|
| committer | Julie Lala <jules@okfoc.us> | 2014-12-01 07:26:10 -0500 |
| commit | edc78f8ebc58f147fb9f0183e5e06e771d395a9a (patch) | |
| tree | 793c6478c8b2ce6fc0250ade480351e1f3bf9b04 /js/matrix.js | |
| parent | c1d0130e3c3b1e3c9f48e72a5566912d29d4f280 (diff) | |
trim
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){ |
