Permalink
Browse files

Update README.md

  • Loading branch information...
boland committed Feb 3, 2012
1 parent 7b2578b commit 38df65e8d238e45a99c2591cb90af9e812195475
Showing with 5 additions and 6 deletions.
  1. +5 −6 README.md
View
@@ -7,12 +7,11 @@ An [AMD module](http://wiki.commonjs.org/wiki/Modules/AsynchronousDefinition) co
See [pairwise\_align.js](https://github.com/boland/sms2-amd/blob/master/pairwise_align.js) for an example alignment function that uses AlignPairLinear.
```javascript
-define(['path/to/pairwise_align'],function(pairwise_align) {
- alignment = pairwise.align("AGTACGTAC","GTAC")
- console.log(alignment.getAlignedM())
- console.log(alignment.getAlignedN())
- console.log(alignment.score)
-});
+pairwise = require('path/to/pairwise_align');
+alignment = pairwise.align("AGTACGTAC","GTAC")
+console.log(alignment.getAlignedM())
+console.log(alignment.getAlignedN())
+console.log(alignment.score)
```
## License

0 comments on commit 38df65e

Please sign in to comment.