|
@@ -1,5 +1,13 @@
|
|
|
"use strict";
|
|
|
|
|
|
+if (typeof Uint16Array == "undefined"){
|
|
|
+ GLOBAL.Uint16Array = function(length){
|
|
|
+ Array.call(this, length);
|
|
|
+ for(var i = 0; i < length; ++i)
|
|
|
+ this[i] = 0;
|
|
|
+ };
|
|
|
+}
|
|
|
+
|
|
|
function Class(){}
|
|
|
Class.extend = function extend(methods){
|
|
|
function Type(){
|