This is an automated email from the ASF dual-hosted git repository.

yishayw pushed a commit to branch ace-editor
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/ace-editor by this push:
     new 7bd5b87  No need for a special application.
7bd5b87 is described below

commit 7bd5b87db2f5fcdd5caa0402f7da791ba3754a9c
Author: DESKTOP-RH4S838\Yishay <yishayj...@hotmail.com>
AuthorDate: Mon Feb 19 18:25:35 2018 +0200

    No need for a special application.
---
 examples/royale/Ace/src/main/royale/ACEEditor.as   |  9 +++++
 examples/royale/Ace/src/main/royale/Ace.mxml       |  4 +--
 examples/royale/Ace/src/main/royale/Application.as | 40 ----------------------
 3 files changed, 11 insertions(+), 42 deletions(-)

diff --git a/examples/royale/Ace/src/main/royale/ACEEditor.as 
b/examples/royale/Ace/src/main/royale/ACEEditor.as
index cd51a60..c16f688 100644
--- a/examples/royale/Ace/src/main/royale/ACEEditor.as
+++ b/examples/royale/Ace/src/main/royale/ACEEditor.as
@@ -31,6 +31,15 @@ package
        COMPILE::JS
        public class ACEEditor extends org.apache.royale.core.UIBase
        {
+               /**
+                * <inject_html>
+                * <script 
src="https://cdn.rawgit.com/ajaxorg/ace-builds/master/src-min-noconflict/ace.js";></script>
+                * </inject_html>
+                */
+               public function ACEEditor()
+               {
+                       super();
+               }
                private var editor:Editor;                      
 
                override public function addedToParent():void 
diff --git a/examples/royale/Ace/src/main/royale/Ace.mxml 
b/examples/royale/Ace/src/main/royale/Ace.mxml
index e27a80e..529289e 100644
--- a/examples/royale/Ace/src/main/royale/Ace.mxml
+++ b/examples/royale/Ace/src/main/royale/Ace.mxml
@@ -17,7 +17,7 @@ See the License for the specific language governing 
permissions and
 limitations under the License.
 
 -->
-<local:Application xmlns:fx="http://ns.adobe.com/mxml/2009";
+<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009";
                   xmlns:local="*"
                    xmlns:js="library://ns.apache.org/royale/basic" >
     <js:valuesImpl>
@@ -31,5 +31,5 @@ limitations under the License.
                </js:VContainer>
         </js:View>
     </js:initialView>
-</local:Application>
+</js:Application>
 
diff --git a/examples/royale/Ace/src/main/royale/Application.as 
b/examples/royale/Ace/src/main/royale/Application.as
deleted file mode 100644
index 1f87c76..0000000
--- a/examples/royale/Ace/src/main/royale/Application.as
+++ /dev/null
@@ -1,40 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package
-{
-    import org.apache.royale.core.Application;
-       import org.apache.royale.core.IFlexInfo;
-       
-       
-       public class Application extends org.apache.royale.core.Application 
implements IFlexInfo
-       {
-               /**
-                * The Royale Compiler will inject html into the index.html 
file.  Surround with
-                * "inject_html" tag as follows:
-                *
-                * <inject_html>
-                * <script 
src="https://cdn.rawgit.com/ajaxorg/ace-builds/master/src-min-noconflict/ace.js";></script>
-                * </inject_html>
-                */
-               public function Application()
-               {
-                       super();
-               }
-    }
-}

-- 
To stop receiving notification emails like this one, please contact
yish...@apache.org.

Reply via email to