You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Artemy Tregubenko (JIRA)" <ji...@apache.org> on 2008/02/19 17:10:43 UTC
[jira] Updated: (SHINDIG-83) gadgets.util.hasFeature is currently
inversed
[ https://issues.apache.org/jira/browse/SHINDIG-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Artemy Tregubenko updated SHINDIG-83:
-------------------------------------
Attachment: patch
> gadgets.util.hasFeature is currently inversed
> ---------------------------------------------
>
> Key: SHINDIG-83
> URL: https://issues.apache.org/jira/browse/SHINDIG-83
> Project: Shindig
> Issue Type: Bug
> Components: Features
> Reporter: Artemy Tregubenko
> Assignee: Kevin Brown
> Attachments: patch
>
> Original Estimate: 0.08h
> Remaining Estimate: 0.08h
>
> At the moment hasFeature reports true for every unknown feature because of typo (?):
> hasFeature : function (feature) {
> return typeof features[feature] === "undefined";
> },
> Well, actually it does for any feature name, as `features` here should be initialized via gadgets.util.init(features), which is never called, because gadgets.config.init is called instead.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.