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

Unified Diff: html/static/js/firstRun.js

Issue 5024350814076928: Issue 1103 - Migrate Simple Adblock users
Patch Set: Created March 24, 2015, 7:44 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
Index: html/static/js/firstRun.js
===================================================================
--- a/html/static/js/firstRun.js
+++ b/html/static/js/firstRun.js
@@ -105,7 +105,8 @@
var mapping = {
"aa-title": "first-run-aa-title",
"aa-text": "first-run-aa-text",
- "title-main": AdblockPlus.isUpdate() ? "first-run-title-update" : "first-run-title-install",
+ "title-main": AdblockPlus.isFromSimpleAdblock() ? "first-run-title-simple-adblock" :
Eric 2015/03/27 12:51:45 It seems that the string "first-run-title-simple-a
Oleksandr 2015/04/16 09:58:09 We have to hardcode this logic somewhere. I think
+ AdblockPlus.isUpdate() ? "first-run-title-update" : "first-run-title-install",
"share-donate": "first-run-share2-donate",
"share-text": "first-run-share2",
"share-connection": "first-run-share2-or"
« no previous file with comments | « files/prefs.json ('k') | html/static/js/ieFirstRun.js » ('j') | html/static/js/ieFirstRun.js » ('J')

Powered by Google App Engine
This is Rietveld