From d3f1d1989c422afe6ce350f5d59eff0c8f8bf612 Mon Sep 17 00:00:00 2001 From: Manuel Araoz Date: Wed, 26 Feb 2014 12:23:06 -0300 Subject: [PATCH 1/3] fix testdata importing --- test/test.basic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.basic.js b/test/test.basic.js index ea7b48f..4863160 100644 --- a/test/test.basic.js +++ b/test/test.basic.js @@ -9,7 +9,7 @@ var PrivateKey = bitcore.PrivateKey.class(); var networks = bitcore.networks; var KeyModule = bitcore.KeyModule; -var test_data = require('../browser/testdata'); +var test_data = require('./testdata'); function test_encode_priv(b58, payload, isTestnet, isCompressed) { From fb9e89b48b438e229fb1eb6a199d0f2a2934feaa Mon Sep 17 00:00:00 2001 From: Manuel Araoz Date: Wed, 26 Feb 2014 16:11:49 -0300 Subject: [PATCH 2/3] HTML usage of bitcore --- examples/example.html | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 examples/example.html diff --git a/examples/example.html b/examples/example.html new file mode 100644 index 0000000..c971798 --- /dev/null +++ b/examples/example.html @@ -0,0 +1,43 @@ + + + + Bitcore browser examples + + + + +
+ + + + + From 58da54d26b0420820af3e36442e52fdc63f78218 Mon Sep 17 00:00:00 2001 From: Manuel Araoz Date: Wed, 26 Feb 2014 16:16:42 -0300 Subject: [PATCH 3/3] update README for html example --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 84b5290..6de5440 100644 --- a/README.md +++ b/README.md @@ -269,6 +269,8 @@ npm install -g grunt-cli grunt browserify ``` +You can check a usage example at examples/example.html + #License