From 7c1e99bb1bc6c2a89bc42fb9c295933f38ac9e0c Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 6 Feb 2015 14:16:20 -0500 Subject: pull in clipboard paste function --- js/util.js | 1 + 1 file changed, 1 insertion(+) (limited to 'js/util.js') diff --git a/js/util.js b/js/util.js index 2a4f86a..91055f9 100644 --- a/js/util.js +++ b/js/util.js @@ -83,6 +83,7 @@ function smoothstep(min,max,n){ return t * t * (3.0 - 2.0 * t) } +function toArray(a){ return Array.prototype.slice.call(a) } function shuffle(a){ for (var i = a.length; i > 0; i--){ var r = randint(i) -- cgit v1.2.3-70-g09d2