From 849e4e015d15f2ecdc0d3add2c7d9a09a86842b6 Mon Sep 17 00:00:00 2001 From: Avital Oliver Date: Tue, 22 Oct 2013 23:04:57 -0700 Subject: [PATCH] remove stale comment --- packages/ui/fields.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/ui/fields.js b/packages/ui/fields.js index fafd4cf716..55603fd5f3 100644 --- a/packages/ui/fields.js +++ b/packages/ui/fields.js @@ -33,17 +33,11 @@ var builtInComponents = { }; _extend(UI.Component, { - // _dontCall is for internal use only. - // - // note: `get`/`lookup` will probably take multiple arguments - // (forming a path) - lookup: function (id) { var self = this; - var result; - var comp; + if (! id) { // `id` is `""` or absent/undefined return lookupComponentProp(self, 'data');