royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject [royale-asjs] branch develop updated: P slipped by
Date Mon, 04 Dec 2017 10:18:16 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/develop by this push:
     new b7a2125  P slipped by
b7a2125 is described below

commit b7a212586f3ac5ca3f3eed61df263f8c819badc1
Author: Harbs <harbs@in-tools.com>
AuthorDate: Mon Dec 4 12:18:07 2017 +0200

    P slipped by
---
 .../src/main/royale/org/apache/royale/html/P.as    | 115 ---------------------
 1 file changed, 115 deletions(-)

diff --git a/frameworks/projects/HTML/src/main/royale/org/apache/royale/html/P.as b/frameworks/projects/HTML/src/main/royale/org/apache/royale/html/P.as
deleted file mode 100644
index 2f242df..0000000
--- a/frameworks/projects/HTML/src/main/royale/org/apache/royale/html/P.as
+++ /dev/null
@@ -1,115 +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 org.apache.royale.html
-{
-    COMPILE::JS
-    {
-        import org.apache.royale.core.WrappedHTMLElement;
-		import org.apache.royale.html.util.addElementToWrapper;
-    }
-
-	/**
-	 *  The P class represents an HTML <p> element
-     *
-	 *
-     *  @toplevel
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.6
-	 *  @productversion Royale 0.0
-	 */
-	public class P extends Group
-	{
-		/**
-		 *  constructor.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion Royale 0.0
-		 */
-		public function P()
-		{
-			super();
-		}
-
-        private var _text:String = "";
-
-        /**
-         *  The text of the p
-         *
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion Royale 0.0
-         */
-		public function get text():String
-		{
-            return _text;
-		}
-		public function set text(value:String):void
-		{
-            _text = value;
-
-			COMPILE::JS
-			{
-                if(textNode == null)
-                {
-                    textNode = document.createTextNode('') as Text;
-                    element.appendChild(textNode);
-                }
-
-                textNode.nodeValue = value;
-			}
-		}
-
-		private var _html:String = "";
-
-        /**
-         *  Sets the HTML of the PRE
-         *
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion Royale 0.0
-		 */
-		public function get html():String
-		{
-			return _html;
-		}
-		public function set html(value:String):void
-		{
-			_html = value;
-
-			COMPILE::JS
-			{
-				element.innerHTML = value;
-			}
-		}
-
-        COMPILE::JS
-        protected var textNode:Text;
-
-        COMPILE::JS
-        override protected function createElement():WrappedHTMLElement
-        {
-			return addElementToWrapper(this,'p');
-        }
-    }
-}

-- 
To stop receiving notification emails like this one, please contact
['"commits@royale.apache.org" <commits@royale.apache.org>'].

Mime
View raw message