Put command

This commit is contained in:
2016-03-31 20:25:43 +08:00
parent c24f74f70c
commit cfa2e45e3d
7 changed files with 135 additions and 26 deletions

View File

@@ -46,5 +46,13 @@
r[ 1 ] = str;
};
Registers.prototype.get = function( r )
{
// 0 is one of the registers
if( !r && r !== 0 ) r = "\"";
return this.__registers[ r ];
};
ns[ NS_EXPORT ]( EX_CLASS, "Registers", Registers );
})();