use es6 properties in protocol.js

This commit is contained in:
Romain Beaumont 2015-09-23 21:06:34 +02:00
parent 5aee0000e4
commit 8aa0d786f0

View File

@ -52,8 +52,10 @@ function extendType(functions, defaultTypeArgs) {
class NMProtocols
{
types={};
constructor() {
this.types = {};
}
addType(name, functions) {