Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/typoRules.js

Issue 8948027: Ported changes from Adblock Plus integration back into URL Fixer (Closed)
Patch Set: Created Jan. 14, 2013, 10:03 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/typoNetError.js ('k') | lib/typoSurvey.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/typoRules.js
===================================================================
--- a/lib/typoRules.js
+++ b/lib/typoRules.js
@@ -94,7 +94,7 @@
function getRuleFile()
{
- let result = FileUtils.getFile("ProfD", ["url-fixer-rules.json"]);
+ let result = FileUtils.getFile("ProfD", [require("info").addonName + "-rules.json"]);
getRuleFile = function() result;
return getRuleFile();
« no previous file with comments | « lib/typoNetError.js ('k') | lib/typoSurvey.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld