Commits

Chun-Ping Chang committed e5dfd23

modify javascript binding example

  • Participants
  • Parent commits aa48908
  • Branches dev

Comments (0)

Files changed (1)

File docs/lib/js.html

           <pre class="prettyprint linenums lang-js">
 var gaiaNode = new gaia.Node('ff003eee35778519ff3dee61ae91833233d0e887');
 
+gaiaNode.join('GaiaSup', 'BlueT');
+
 gaiaNode.subscribeNearby(500, updateHandler, 1000); </pre>
           <br/>
         </div>
           <pre class="prettyprint linenums lang-js">
 var gaiaNode = new gaia.Node('ff003eee35778519ff3dee61ae91833233d0e887');
 
+gaiaNode.join('GaiaSup', 'BlueT');
+
 gaiaNode.getNeighbors();</pre>
           <br/>
           <strong>Return</strong>
           <pre class="prettyprint linenums lang-js">
 var gaiaNode = new gaia.Node('ff003eee35778519ff3dee61ae91833233d0e887');
 
+gaiaNode.join('GaiaSup', 'BlueT');
+
 gaiaNode.isJoined();</pre>
           <br/>
           <strong>Return</strong>
           <pre class="prettyprint linenums lang-js">
 var gaiaNode = new gaia.Node('ff003eee35778519ff3dee61ae91833233d0e887');
 
+gaiaNode.join('GaiaSup', 'BlueT');
+
 gaiaNode.toString();</pre>
           <br/>
         </div>