This is an automated email from the ASF dual-hosted git repository.
carlosrovira 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 9eee97b tourdejewel: add hljs class extern to showcase how to do it
in TDJ
9eee97b is described below
commit 9eee97b0d13bcd6032867475405b95e6268761ed
Author: Carlos Rovira <[email protected]>
AuthorDate: Thu May 2 18:05:04 2019 +0200
tourdejewel: add hljs class extern to showcase how to do it in TDJ
---
.../TourDeJewel/src/main/royale/externs/hljs.as | 28 ++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/examples/royale/TourDeJewel/src/main/royale/externs/hljs.as
b/examples/royale/TourDeJewel/src/main/royale/externs/hljs.as
new file mode 100644
index 0000000..a0e7ee8
--- /dev/null
+++ b/examples/royale/TourDeJewel/src/main/royale/externs/hljs.as
@@ -0,0 +1,28 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 externs
+{
+ /**
+ * @externs
+ */
+ public class hljs
+ {
+ public static function highlightBlock(block:Element):void {}
+ }
+}
\ No newline at end of file