Added another valid and one invalid attribute. Signed-off-by: Erik de Bruin <e...@ixsoftware.nl>
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/b02ea137 Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/b02ea137 Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/b02ea137 Branch: refs/heads/develop Commit: b02ea1379e8e74b7a103d373f98dd381939419c3 Parents: 32ce83d Author: Erik de Bruin <e...@ixsoftware.nl> Authored: Mon Jun 30 14:14:34 2014 +0200 Committer: Erik de Bruin <e...@ixsoftware.nl> Committed: Fri Aug 1 12:59:14 2014 +0200 ---------------------------------------------------------------------- compiler.jx.tests/test-files/vf2js/files/Simple.mxml | 2 +- compiler.jx.tests/test-files/vf2js/files/Simple_result.js | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b02ea137/compiler.jx.tests/test-files/vf2js/files/Simple.mxml ---------------------------------------------------------------------- diff --git a/compiler.jx.tests/test-files/vf2js/files/Simple.mxml b/compiler.jx.tests/test-files/vf2js/files/Simple.mxml index b628a00..d7ba83a 100644 --- a/compiler.jx.tests/test-files/vf2js/files/Simple.mxml +++ b/compiler.jx.tests/test-files/vf2js/files/Simple.mxml @@ -1,4 +1,4 @@ <vf2js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:vf2js="http://flex.apache.org/vf2js/ns" - <vf2js:Button label="hello" /> + <vf2js:Button label="hello" x="100" invalidAttr="nope" /> </vf2js:Application> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b02ea137/compiler.jx.tests/test-files/vf2js/files/Simple_result.js ---------------------------------------------------------------------- diff --git a/compiler.jx.tests/test-files/vf2js/files/Simple_result.js b/compiler.jx.tests/test-files/vf2js/files/Simple_result.js index 136e687..35020e0 100644 --- a/compiler.jx.tests/test-files/vf2js/files/Simple_result.js +++ b/compiler.jx.tests/test-files/vf2js/files/Simple_result.js @@ -77,13 +77,16 @@ Simple.prototype.get_MXMLProperties = function() var data = [ 1, vf2js.components.Button, -2, +3, '_id', true, '$ID0', 'label', true, 'hello', +'x', +true, +100, 0, 0, null0,