polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nic...@apache.org
Subject [5/5] polygene-java git commit: POLYGENE-29 - Doc fixes
Date Sun, 09 Apr 2017 04:54:47 GMT
POLYGENE-29 - Doc fixes


Project: http://git-wip-us.apache.org/repos/asf/polygene-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/polygene-java/commit/72ab774a
Tree: http://git-wip-us.apache.org/repos/asf/polygene-java/tree/72ab774a
Diff: http://git-wip-us.apache.org/repos/asf/polygene-java/diff/72ab774a

Branch: refs/heads/develop
Commit: 72ab774a946542237edcbd8c824d8caf29dd1592
Parents: 11a9d3d
Author: niclas <niclas@spicter.com>
Authored: Sun Apr 9 12:54:31 2017 +0800
Committer: niclas <niclas@spicter.com>
Committed: Sun Apr 9 12:54:31 2017 +0800

----------------------------------------------------------------------
 libraries/scripting/src/docs/javascript.txt                       | 3 ++-
 .../java/org/apache/polygene/library/scripting/HelloSpeaker.java  | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/72ab774a/libraries/scripting/src/docs/javascript.txt
----------------------------------------------------------------------
diff --git a/libraries/scripting/src/docs/javascript.txt b/libraries/scripting/src/docs/javascript.txt
index b5f3714..493e5a9 100644
--- a/libraries/scripting/src/docs/javascript.txt
+++ b/libraries/scripting/src/docs/javascript.txt
@@ -31,7 +31,8 @@ tag=speaker
 ----
 
 
-we need a implementation that looks like this;
+we need a implementation in a resource file (visible on classpath) named +org/apache/polygene/library/scripting/HelloSpeaker.js+
+that looks like this;
 
 [snippet,javascript]
 ----

http://git-wip-us.apache.org/repos/asf/polygene-java/blob/72ab774a/libraries/scripting/src/test/java/org/apache/polygene/library/scripting/HelloSpeaker.java
----------------------------------------------------------------------
diff --git a/libraries/scripting/src/test/java/org/apache/polygene/library/scripting/HelloSpeaker.java
b/libraries/scripting/src/test/java/org/apache/polygene/library/scripting/HelloSpeaker.java
index 101d7e9..9e36ea1 100644
--- a/libraries/scripting/src/test/java/org/apache/polygene/library/scripting/HelloSpeaker.java
+++ b/libraries/scripting/src/test/java/org/apache/polygene/library/scripting/HelloSpeaker.java
@@ -17,7 +17,9 @@
  *
  *
  */
+// START SNIPPET: speaker
 package org.apache.polygene.library.scripting;
+// END SNIPPET: speaker
 
 import org.apache.polygene.api.mixin.Mixins;
 


Mime
View raw message