Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Update README.md

  • Loading branch information...
commit 38df65e8d238e45a99c2591cb90af9e812195475 1 parent 7b2578b
Todd Boland authored February 02, 2012

Showing 1 changed file with 5 additions and 6 deletions. Show diff stats Hide diff stats

  1. 11  README.md
11  README.md
Source Rendered
@@ -7,12 +7,11 @@ An [AMD module](http://wiki.commonjs.org/wiki/Modules/AsynchronousDefinition) co
7 7
 See [pairwise\_align.js](https://github.com/boland/sms2-amd/blob/master/pairwise_align.js) for an example alignment function that uses AlignPairLinear.
8 8
 
9 9
 ```javascript
10  
-define(['path/to/pairwise_align'],function(pairwise_align) {
11  
-  alignment = pairwise.align("AGTACGTAC","GTAC")
12  
-  console.log(alignment.getAlignedM())
13  
-  console.log(alignment.getAlignedN())
14  
-  console.log(alignment.score)
15  
-});
  10
+pairwise = require('path/to/pairwise_align');
  11
+alignment = pairwise.align("AGTACGTAC","GTAC")
  12
+console.log(alignment.getAlignedM())
  13
+console.log(alignment.getAlignedN())
  14
+console.log(alignment.score)
16 15
 ```
17 16
 
18 17
 ## License

0 notes on commit 38df65e

Please sign in to comment.
Something went wrong with that request. Please try again.