You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2018/01/12 19:00:41 UTC
[royale-asjs] 02/04: get this to compile again
This is an automated email from the ASF dual-hosted git repository.
aharui pushed a commit to branch release/0.9.0
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit e59dad1214a6c6326753557a21758ea7d8f2548a
Author: Alex Harui <ah...@apache.org>
AuthorDate: Fri Jan 12 10:16:08 2018 -0800
get this to compile again
---
examples/royale/Flex2Royale/src/main/royale/MainView.mxml | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/examples/royale/Flex2Royale/src/main/royale/MainView.mxml b/examples/royale/Flex2Royale/src/main/royale/MainView.mxml
index f451de5..eac8880 100644
--- a/examples/royale/Flex2Royale/src/main/royale/MainView.mxml
+++ b/examples/royale/Flex2Royale/src/main/royale/MainView.mxml
@@ -26,9 +26,9 @@ limitations under the License.
<![CDATA[
import org.apache.royale.html.TableRow;
import org.apache.royale.html.TableCell;
- import org.apache.royale.html.P;
- import org.apache.royale.html.PRE;
- import org.apache.royale.html.H3;
+ import org.apache.royale.html.elements.P;
+ import org.apache.royale.html.elements.Pre;
+ import org.apache.royale.html.elements.H3;
import org.apache.royale.events.Event;
import models.MainModel;
@@ -69,7 +69,7 @@ limitations under the License.
var cell3:TableCell = new TableCell();
for(var i:int=0; i < col3.length; i++) {
para = new P();
- para.html = String(col3[i]);
+ para.innerHTML = String(col3[i]);
cell3.addElement(para);
}
var preText:String = "";
@@ -77,8 +77,8 @@ limitations under the License.
if (i > 0) preText = preText + "\n";
preText = preText + String(exp3[i]);
}
- var pre:PRE = new PRE();
- pre.html = preText;
+ var pre:Pre = new Pre();
+ pre.innerHTML = preText;
cell3.addElement(pre);
row.addElement(cell3);
--
To stop receiving notification emails like this one, please contact
"commits@royale.apache.org" <co...@royale.apache.org>.