Skip to content

Commit c4501b3

Browse files
committed
fix comment about es6-template
1 parent 86a67a3 commit c4501b3

File tree

8 files changed

+10
-4
lines changed

8 files changed

+10
-4
lines changed

common/content/javascript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ const JavaScript = Module("javascript", {
638638
"Allow completion of JavaScript objects coming from web content. POSSIBLY INSECURE!",
639639
"boolean", false);
640640

641-
// TODO: delete me when minVersion is greater than 35
641+
// TODO: delete me when minVersion is greater than 34
642642
if (!liberator.has("template")) {
643643
options.add(["expandtemplate"],
644644
"Expand TemplateLiteral",

common/content/liberator-overlay.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
(function () {
77
const modules = {};
8+
// TODO: FIXME when minVersion is greater than 34
89
var {isSupport: TemplateIsSupport} = Components.utils.import("resource://liberator/CheckTemplate.jsm", {});
910
const BASE = TemplateIsSupport ?
1011
"chrome://liberator/content/" : "liberator://template/chrome://liberator/content/";
@@ -32,6 +33,7 @@
3233

3334
let prefix = [BASE];
3435

36+
// TODO: FIXME when minVersion is greater than 34
3537
Components.utils.import("resource://liberator/template-tag" + (TemplateIsSupport ? ".js" : "-old.js"), modules);
3638

3739
// TODO: This list is much too long, we should try to minimize

common/content/liberator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ const Liberator = Module("liberator", {
332332
* should be loaded.
333333
*/
334334
loadScript: function (uri, context) {
335-
// TODO: delete me when minVersion is greater than 35
335+
// TODO: delete me when minVersion is greater than 34
336336
if (options.expandtemplate) {
337337
var prefix = "liberator://template/";
338338
if (uri.lastIndexOf(prefix, 0) === -1)
@@ -346,7 +346,7 @@ const Liberator = Module("liberator", {
346346
if (!context)
347347
context = userContext;
348348

349-
// TODO: delete me when minVersion is greater than 35
349+
// TODO: delete me when minVersion is greater than 34
350350
if (options.expandtemplate) {
351351
var obj = new Object;
352352
Cu.import("resource://liberator/template.js", obj);

common/modules/CheckTemplate.jsm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// vim: ft=javascript
2+
// TODO: delete me when minVersion is greater than 34
23

34
var EXPORTED_SYMBOLS = ["isSupport"];
45

common/modules/template-tag-old.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// TODO: delete me when minVersion is greater than 34
12

23
var EXPORTED_SYMBOLS = ["xml", "TemplateSupportsXML"];
34
(function () {

common/modules/template.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// TODO: delete me when minversion is greater than 35
1+
// TODO: delete me when minversion is greater than 34
22
var EXPORTED_SYMBOLS = ["convert"];
33
const Cu = Components.utils;
44

muttator/content/config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const Config = Module("config", ConfigBase, {
1010
// don't wait too long when selecting new messages
1111
// GetThreadTree()._selectDelay = 300; // TODO: make configurable
1212

13+
// TODO: delete me when minversion is greater than 34
1314
var {isSupport} = Cu.import("resource://liberator/CheckTemplate.jsm", {});
1415
if (isSupport) this.features.add("template");
1516
},

vimperator/content/config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
const Config = Module("config", ConfigBase, {
99
init: function () {
10+
// TODO: delete me when minversion is greater than 34
1011
var {isSupport} = Cu.import("resource://liberator/CheckTemplate.jsm", {});
1112
if (isSupport) this.features.add("template");
1213
},

0 commit comments

Comments
 (0)