You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Paul Lindner (JIRA)" <ji...@apache.org> on 2008/02/28 16:47:51 UTC
[jira] Commented: (SHINDIG-83) gadgets.util.hasFeature is currently
not implemented.
[ https://issues.apache.org/jira/browse/SHINDIG-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12573328#action_12573328 ]
Paul Lindner commented on SHINDIG-83:
-------------------------------------
Kevin,
Could we move the list of supported features into the syndicator configuration?
This way different syndicators could pick and choose which features they would like to support.
If you concur I can write up a patch for this.
> gadgets.util.hasFeature is currently not implemented.
> -----------------------------------------------------
>
> Key: SHINDIG-83
> URL: https://issues.apache.org/jira/browse/SHINDIG-83
> Project: Shindig
> Issue Type: Bug
> Components: Features, Gadgets Server - Java
> Reporter: Artemy Tregubenko
> Assignee: Kevin Brown
> Attachments: patch
>
>
> 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.