adding Util.js to the script

This commit is contained in:
Stuart Parmenter 2009-07-17 20:12:10 -07:00
parent 473b003373
commit 555777814b

View File

@ -52,6 +52,7 @@ let Util = {
},
bindAll: function bindAll(instance) {
let bind = Util.bind;
for (let key in instance)
if (instance[key] instanceof Function)
instance[key] = bind(instance[key], instance);