Browse Source

Fix build scipts' shebang, let -> const

pull/2/head
Deathamns 10 years ago
committed by gorhill
parent
commit
08f87c72bb
  1. 4
      platform/firefox/frameModule.js

4
platform/firefox/frameModule.js

@ -44,7 +44,7 @@ const getMessager = win =>
/******************************************************************************/ /******************************************************************************/
let contentPolicy = {
const contentPolicy = {
classDescription: 'content-policy implementation for ' + appName, classDescription: 'content-policy implementation for ' + appName,
classID: Components.ID('{e6d173c8-8dbf-4189-a6fd-189e8acffd27}'), classID: Components.ID('{e6d173c8-8dbf-4189-a6fd-189e8acffd27}'),
contractID: '@' + appName + '/content-policy;1', contractID: '@' + appName + '/content-policy;1',
@ -123,7 +123,7 @@ let contentPolicy = {
/******************************************************************************/ /******************************************************************************/
let docObserver = {
const docObserver = {
contentBaseURI: 'chrome://' + appName + '/content/', contentBaseURI: 'chrome://' + appName + '/content/',
initContext: function(win, sandbox) { initContext: function(win, sandbox) {
let messager = getMessager(win); let messager = getMessager(win);

Loading…
Cancel
Save