Commit 188404e0 authored by yann300's avatar yann300

typo

parent e0342e73
...@@ -363,7 +363,7 @@ class Terminal { ...@@ -363,7 +363,7 @@ class Terminal {
registerType (typename, template) { registerType (typename, template) {
var self = this var self = this
if (typeof template !== 'function') throw new Error('invalid template') if (typeof template !== 'function') throw new Error('invalid template')
self._template[typename] = template self._templates[typename] = template
} }
log () { log () {
var self = this var self = this
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment