Permalink
Browse files

Add JS code to show what we are trying to do

  • Loading branch information...
1 parent 77d0e93 commit 40ec788292a93ef06c785ecf0f00b811893aa354 @nikhilm committed Jan 18, 2012
Showing with 16 additions and 2 deletions.
  1. +16 −2 slides.rst
View
@@ -109,6 +109,22 @@ Templates
Simple functions
----------------
+\
+\
+\
+\
+.. code-block:: js
+
+ exports.square = function(n) {
+ return n * n;
+ }
+
+\
+We want to do this in C++
+
+Simple functions
+----------------
+
Registering with V8:
.. code-block:: cpp
@@ -121,8 +137,6 @@ Registering with V8:
:start-at: static void
:end-before: NODE_MODULE
-TODO TODO TODO
-
Simple functions
----------------

0 comments on commit 40ec788

Please sign in to comment.