Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 0 additions & 26 deletions Gruntfile.coffee

This file was deleted.

10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Using Messaging is as easy as:
return log.info('RESULT', "finished : " + (JSON.stringify(x)));
});
}, fail);

async.series([
function() {
return dyn.accounts.create("example@foo.com", "secret", "bar", "1234567890").then(function(x) {
Expand Down Expand Up @@ -105,7 +105,7 @@ Using Messaging is as easy as:
return log.info('RESULT', "finished : " + (JSON.stringify(x)));
});
}, fail);

async.series([
function() {
return dyn.recipients.activate("foo@bars.com").then(function(x) {
Expand All @@ -123,7 +123,7 @@ Using Messaging is as easy as:
return log.info('RESULT', "finished : " + (JSON.stringify(x)));
});
}, fail);

async.series([
function() {
return dyn.send_mail.create("foo@bars.com", "recipient@destination.com", "hello, new js api", "it works!").then(function(x) {
Expand Down Expand Up @@ -151,6 +151,10 @@ Using Messaging is as easy as:

* See the "examples" folder for more comprehensive examples

## Building

To compile the coffee-script, first install dev dependencies: `npm install`. Then run `npm run compile`.

## License

(The MIT License)
Expand Down
100 changes: 75 additions & 25 deletions lib/dyn-js.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,19 @@
"node": ">= 0.8.x"
},
"devDependencies": {
"grunt": "~0.4.4",
"grunt-contrib-clean": "~0.5.0",
"grunt-contrib-coffee": "~0.10.1"
"coffee-script": "~1.10.0"
},
"bugs": {
"url" : "https://github.com/dyninc/dyn-js/issues"
"url": "https://github.com/dyninc/dyn-js/issues"
},
"license": "MIT",
"repository": {
"type" : "git",
"url" : "https://github.com/dyninc/dyn-js"
"type": "git",
"url": "https://github.com/dyninc/dyn-js"
},
"dependencies": {
"npmlog": "~0.0.6 ",
"concat-stream": "~1.5.2",
"npmlog": "~2.0.4",
"q": "~1.0.1",
"underscore": "~1.6.0"
},
Expand All @@ -48,5 +47,7 @@
"dns",
"dynamic dns"
],
"main": "lib/dyn-js.js"
"scripts": {
"compile": "coffee -o lib -c src"
}
}
3 changes: 0 additions & 3 deletions scripts/compile.rb

This file was deleted.

Loading