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

Unified Diff: lib/utils.js

Issue 10803010: First-run page (Chrome-specific changes) (Closed)
Patch Set: Created May 28, 2013, 5:31 p.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
Index: lib/utils.js
===================================================================
--- a/lib/utils.js
+++ b/lib/utils.js
@@ -95,5 +95,12 @@
}
}
return selectedItem;
+ },
+
+ getDocLink: function(linkID)
+ {
+ var Prefs = require("prefs").Prefs;
+ var docLink = Prefs.documentation_link;
+ return docLink.replace(/%LINK%/g, linkID).replace(/%LANG%/g, Utils.appLocale);
}
};
« no previous file with comments | « _locales/en_US/messages.json ('k') | metadata.chrome » ('j') | metadata.chrome » ('J')

Powered by Google App Engine
This is Rietveld