Builder/Provider/Palete/Gtk.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 17 May 2010 07:35:25 +0000 (15:35 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 17 May 2010 07:35:25 +0000 (15:35 +0800)
Builder/Provider/Palete/Gtk.js

index 9d3ea88..75422bf 100644 (file)
@@ -516,7 +516,7 @@ Gtk = XObject.define(
                     ret = false; // invalid!
                 })
                 return ret;
-            }
+            };
             var packret = false;
             list.every(function(e) {
                 packret = toRet(e);
@@ -539,7 +539,7 @@ Gtk = XObject.define(
             // let's assume top down...
             var inherits = [ cname ];
             inherits.push.apply(inherits, this.getPropertiesFor(cname,'inherits'));
-            funcs.foreach(function(m) {
+            funcs.forEach(function(m) {
                 if (m.params.length && typeof(m.params[0].type) == 'string') &&
                     inherits.indexOf(m.params[0].type) > -1) {
                     ret.push(m);