tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse Kuhnert (JIRA)" <...@tapestry.apache.org>
Subject [jira] Resolved: (TAPESTRY-1688) the tapestry form.js script has an unnecessary call to eval
Date Sun, 05 Aug 2007 20:15:29 GMT

     [ https://issues.apache.org/jira/browse/TAPESTRY-1688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jesse Kuhnert resolved TAPESTRY-1688.
-------------------------------------

    Resolution: Fixed

> the tapestry form.js script has an unnecessary call to eval
> -----------------------------------------------------------
>
>                 Key: TAPESTRY-1688
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1688
>             Project: Tapestry
>          Issue Type: Improvement
>    Affects Versions: 4.1.2, 4.1.3
>            Reporter: Andrea Chiumenti
>            Priority: Minor
>             Fix For: 4.1.3
>
>         Attachments: form.js.diff
>
>
> the function 
> registerProfile:function(id, profile){
> 		if (!this.forms[id]) {
> 			dojo.raise("registerProfile(" + id + ") No form previously registered with that id.");
> 			return;
> 		}
> 		
> 		this.forms[id].profiles.push(eval(profile));
> 	}
> has an unnecessary call to eval since profile is already a js object

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message