Permalink
Browse files

making distance public

  • Loading branch information...
Pinhook
Pinhook committed Dec 2, 2010
1 parent b033211 commit 46e5b1de9b352a28bc7dca9cff027344524a9d35
Showing with 1 addition and 0 deletions.
  1. +1 −0 distance.js
View
@@ -1,4 +1,5 @@
steal.then(function() {
+ // the distance between 2 strings
DocumentJS.distance = function( s1, s2 ) {
if ( s1 == s2 ) {
return 0;

0 comments on commit 46e5b1d

Please sign in to comment.