From 7815455aca4373528be7e614acc6c38078d7730d Mon Sep 17 00:00:00 2001 From: Deathamns Date: Sat, 20 Dec 2014 20:20:23 +0100 Subject: [PATCH] Fix build scipts' shebang, let -> const --- platform/firefox/frameModule.js | 4 ++-- tools/make-firefox-meta.py | 2 +- tools/make-safari-meta.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/platform/firefox/frameModule.js b/platform/firefox/frameModule.js index 2afc88869..3ff0a00eb 100644 --- a/platform/firefox/frameModule.js +++ b/platform/firefox/frameModule.js @@ -44,7 +44,7 @@ const getMessager = win => /******************************************************************************/ -let contentPolicy = { +const contentPolicy = { classDescription: 'content-policy implementation for ' + appName, classID: Components.ID('{e6d173c8-8dbf-4189-a6fd-189e8acffd27}'), contractID: '@' + appName + '/content-policy;1', @@ -123,7 +123,7 @@ let contentPolicy = { /******************************************************************************/ -let docObserver = { +const docObserver = { contentBaseURI: 'chrome://' + appName + '/content/', initContext: function(win, sandbox) { let messager = getMessager(win); diff --git a/tools/make-firefox-meta.py b/tools/make-firefox-meta.py index fe6e9781e..49967ca1a 100644 --- a/tools/make-firefox-meta.py +++ b/tools/make-firefox-meta.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import os import json diff --git a/tools/make-safari-meta.py b/tools/make-safari-meta.py index 2726732cb..ad6a63cd4 100755 --- a/tools/make-safari-meta.py +++ b/tools/make-safari-meta.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import os import json