[TIMOB-13116] MobileWeb: toString is broken on objects without a class name
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2013-03-19T18:59:46.000+0000 |
| Affected Version/s | Release 2.1.4 |
| Fix Version/s | Release 3.1.0, 2013 Sprint 06 JS, 2013 Sprint 06 |
| Components | MobileWeb |
| Labels | qe-port |
| Reporter | Bryan Hughes |
| Assignee | Bryan Hughes |
| Created | 2013-03-19T18:24:52.000+0000 |
| Updated | 2013-05-08T06:58:53.000+0000 |
Description
toString is broken on objects without a classname
var x = require('Ti/_/declare')({
constructor: function(args) {
console.dir(args);
},
properties: {
bar: 20
}
});
var y = new x();
console.log(y.toString());
PR: https://github.com/appcelerator/titanium_mobile/pull/3989
It is not breaking now.App is rendering without error on web. Verification environment details- SDK - 3.1.0.GA Appcelerator studio - 3.1.1.201305031846