summaryrefslogtreecommitdiff
path: root/interactor
diff options
context:
space:
mode:
Diffstat (limited to 'interactor')
-rw-r--r--interactor/common.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/interactor/common.js b/interactor/common.js
index dbc3484..65313ce 100644
--- a/interactor/common.js
+++ b/interactor/common.js
@@ -41,3 +41,6 @@ function stabilise(bd){
} while(changes);
return bd;
}
+
+
+Array.prototype.fill=Array.prototype.fill||function(t){if(null==this)throw new TypeError("this is null or not defined");for(var r=Object(this),n=r.length>>>0,i=arguments[1],a=i>>0,e=0>a?Math.max(n+a,0):Math.min(a,n),o=arguments[2],h=void 0===o?n:o>>0,l=0>h?Math.max(n+h,0):Math.min(h,n);l>e;)r[e]=t,e++;return r};