Permalink
Browse files

regenerated javascript

  • Loading branch information...
gteodoru committed Aug 24, 2011
1 parent 90b1e68 commit 81f382c2350a766a2647f04d6dbdb1aa16a04db0
Showing with 8 additions and 17 deletions.
  1. +3 −9 coffee/examples/example.coffee
  2. +3 −6 examples/example.js
  3. +2 −2 lib/awesm.js
@@ -1,17 +1,11 @@
awesm = require('../index')
-aw = new awesm.AweSM('[key]')
+aw = new awesm.AweSM('c0e8429833f0b1440615b35f06f59ead60882efb318237d7420de7e68922357f')
md = new awesm.Metadata()
-md.campaign = 'email-campaign'
+md.campaign = 'test-campaign'
-aw.createEndpoint('http://facebook.com', 'awesm-client', 'tool', md, (err, result) ->
+aw.createStaticEndpoint('http://www.alexeypro.com', 'test123', '8wlO7r', md, (err, result) ->
console.log err, result
)
-
-aw.createEndpoint('http://facebook.com', 'awesm-client', '[tool]', null, (err, result) ->
- console.log err, result
-, 'txt')
-
-
View
@@ -1,13 +1,10 @@
(function() {
var aw, awesm, md;
awesm = require('../index');
- aw = new awesm.AweSM('[key]');
+ aw = new awesm.AweSM('c0e8429833f0b1440615b35f06f59ead60882efb318237d7420de7e68922357f');
md = new awesm.Metadata();
- md.campaign = 'email-campaign';
- aw.createEndpoint('http://facebook.com', 'awesm-client', 'tool', md, function(err, result) {
+ md.campaign = 'test-campaign';
+ aw.createStaticEndpoint('http://www.alexeypro.com', 'test123', '8wlO7r', md, function(err, result) {
return console.log(err, result);
});
- aw.createEndpoint('http://facebook.com', 'awesm-client', '[tool]', null, function(err, result) {
- return console.log(err, result);
- }, 'txt');
}).call(this);
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 81f382c

Please sign in to comment.