Permalink
Browse files

Use proper method when replacing the Mojo API.

  • Loading branch information...
1 parent 2831494 commit d8c4f396d90300ef63846a132462508f23d72265 @kpdecker committed Nov 25, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 text-indexer.js
View
2 text-indexer.js
@@ -82,6 +82,6 @@ var TextIndexer;
// Mojo Framework override. Unused on non-Mojo platforms and may be removed if undesired in Mojo apps
if (window.Mojo && Mojo.Format) {
// Override the Mojo API if it exists in this context.
- Mojo.Format.runTextIndexer = runTextIndexer;
+ Mojo.Format.runTextIndexer = TextIndexer.run;
}
})();

0 comments on commit d8c4f39

Please sign in to comment.