You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Stanton Sievers (Created) (JIRA)" <ji...@apache.org> on 2012/01/08 20:20:39 UTC
[jira] [Created] (SHINDIG-1680) Introduce an API to test is a value
is undefined and utilize it across the feature code
Introduce an API to test is a value is undefined and utilize it across the feature code
---------------------------------------------------------------------------------------
Key: SHINDIG-1680
URL: https://issues.apache.org/jira/browse/SHINDIG-1680
Project: Shindig
Issue Type: Improvement
Components: Javascript
Affects Versions: 3.0.0
Reporter: Stanton Sievers
Priority: Minor
Fix For: 3.0.0
To improve the feature JavaScript code, it would be nice to have a global API (in core.util or the like) that can be used when testing a value against undefined. Currently, much of the code uses "typeof val == 'undefined'" checks. These could be replaced with a utility function that does that check.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira