summaryrefslogtreecommitdiff
path: root/interactor
diff options
context:
space:
mode:
authortomsmeding <hallo@tomsmeding.nl>2015-10-23 13:37:29 +0200
committertomsmeding <hallo@tomsmeding.nl>2015-10-23 13:37:29 +0200
commitb3f444859d30a7a4aff03fe97ff51009a46f9437 (patch)
treec01061a035c4972dff81cbbf6ac0667ace7a77aa /interactor
parent51ef2f5b93bf1ca2c45a4a6e96ac6dbabd021844 (diff)
hoi
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};