Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

example/hello - moved everything to hellojs.bea

  • Loading branch information...
commit 10a4be5bd55aac5d8d502de8cc3811353aa0a6af 1 parent b19a352
@codeboost authored
View
13 examples/hello/hellojs.bea
@@ -9,4 +9,15 @@
\#include <bea.h>
\#include "helloJS.h"
-@include "item.bea"
+@namespace hello
+ @type std::string
+ @class Item
+ @destructor
+ delete _this;
+
+ Item()
+ Item(const char* name)
+ Item(const std::string& name, int age)
+ std::string name()
+ std::string sayHello(const std::string &message)
+ virtual std::string greet()
View
15 examples/hello/item.bea
@@ -1,15 +0,0 @@
-@namespace hello
- @type std::string
- @class Item
- @destructor
- delete _this;
-
- Item()
- Item(const char* name)
- Item(const std::string& name, int age)
- std::string name()
- std::string sayHello(const std::string &message)
- virtual std::string greet()
-
-
-
View
11 src/debugit.coffee
@@ -1,11 +0,0 @@
-exports.debugIt = (fn) ->
- console.log 'Press c to continue or any key to quit'
- tty = require 'tty'
- tty.setRawMode true
- process.stdin.resume()
- process.stdin.on "keypress", (char, key) ->
- if key && key.name == 'c'
- fn()
- else
- console.log 'aborted'
- process.exit(0)
View
11 src/test.coffee
@@ -1,11 +0,0 @@
-util = require 'util'
-
-#console.log util.inspect module
-
-#_ = require 'underscore'
-debugIt = require('./debugit').debugIt;
-
-exports.some = 1;
-
-console.log exports
-console.log module.exports
Please sign in to comment.
Something went wrong with that request. Please try again.