You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2017/05/19 16:58:22 UTC

[3/4] git commit: [flex-asjs] [refs/heads/release0.8.0] - stick some sort of index.html in there so you can run it

stick some sort of index.html in there so you can run it


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/b3b3cd6d
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/b3b3cd6d
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/b3b3cd6d

Branch: refs/heads/release0.8.0
Commit: b3b3cd6d6f0a56266eb4833164c3638a6499fd07
Parents: 30c24d9
Author: Alex Harui <ah...@apache.org>
Authored: Fri May 19 09:57:27 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri May 19 09:57:27 2017 -0700

----------------------------------------------------------------------
 examples/native/ButtonExample/build.xml               |  2 ++
 .../ButtonExample/src/main/resources/index.html       | 14 ++++++++++++++
 examples/native/USStatesMap/build.xml                 |  2 ++
 .../native/USStatesMap/src/main/resources/index.html  | 14 ++++++++++++++
 4 files changed, 32 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b3b3cd6d/examples/native/ButtonExample/build.xml
----------------------------------------------------------------------
diff --git a/examples/native/ButtonExample/build.xml b/examples/native/ButtonExample/build.xml
index bb28b71..0e7fe29 100644
--- a/examples/native/ButtonExample/build.xml
+++ b/examples/native/ButtonExample/build.xml
@@ -34,6 +34,8 @@
     <property name="file_suffix" value="as" />
     
     <target name="main" depends="clean,build_example.compile" description="Clean build of ${example}">
+        <copy file="${basedir}/src/main/resources/index.html" tofile="${basedir}/bin/js-debug/index.html" />
+        <copy file="${basedir}/src/main/resources/index.html" tofile="${basedir}/bin/js-release/index.html" />
     </target>
     
     <target name="clean">

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b3b3cd6d/examples/native/ButtonExample/src/main/resources/index.html
----------------------------------------------------------------------
diff --git a/examples/native/ButtonExample/src/main/resources/index.html b/examples/native/ButtonExample/src/main/resources/index.html
new file mode 100644
index 0000000..2925bae
--- /dev/null
+++ b/examples/native/ButtonExample/src/main/resources/index.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+	<script type="text/javascript" src="./library/closure/goog/base.js"></script>
+	<script type="text/javascript" src="./ButtonExample-dependencies.js"></script>
+</head>
+<body>
+	<script type="text/javascript">
+		new ButtonExample().start();
+	</script>
+</body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b3b3cd6d/examples/native/USStatesMap/build.xml
----------------------------------------------------------------------
diff --git a/examples/native/USStatesMap/build.xml b/examples/native/USStatesMap/build.xml
index 6e98c61..8356e4d 100644
--- a/examples/native/USStatesMap/build.xml
+++ b/examples/native/USStatesMap/build.xml
@@ -34,6 +34,8 @@
     <property name="file_suffix" value="as" />
 
     <target name="main" depends="clean,build_example.compile" description="Clean build of ${example}">
+        <copy file="${basedir}/src/main/resources/index.html" tofile="${basedir}/bin/js-debug/index.html" />
+        <copy file="${basedir}/src/main/resources/index.html" tofile="${basedir}/bin/js-release/index.html" />
     </target>
     
     <target name="clean">

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b3b3cd6d/examples/native/USStatesMap/src/main/resources/index.html
----------------------------------------------------------------------
diff --git a/examples/native/USStatesMap/src/main/resources/index.html b/examples/native/USStatesMap/src/main/resources/index.html
new file mode 100644
index 0000000..206409c
--- /dev/null
+++ b/examples/native/USStatesMap/src/main/resources/index.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+	<script type="text/javascript" src="./library/closure/goog/base.js"></script>
+	<script type="text/javascript" src="./USStatesMap-dependencies.js"></script>
+</head>
+<body>
+	<script type="text/javascript">
+		new USStatesMap().start();
+	</script>
+</body>
+</html>
\ No newline at end of file