From 3e48b93fed138ef4ac7740ffd59f4a8452f733c3 Mon Sep 17 00:00:00 2001 From: Lin Clark Date: Mon, 25 Jan 2016 11:19:58 -0800 Subject: [PATCH] Bug 1241956 - Use standard license boilerplate in webconsole js files. r=bgrins --HG-- extra : commitid : 9KHzQR1VrHq --- devtools/client/webconsole/console-commands.js | 2 ++ devtools/client/webconsole/console-output.js | 3 ++- devtools/client/webconsole/hudservice.js | 4 ++-- devtools/client/webconsole/panel.js | 2 ++ devtools/client/webconsole/webconsole.js | 4 ++-- devtools/shared/webconsole/client.js | 4 ++-- devtools/shared/webconsole/js-property-provider.js | 8 ++++---- devtools/shared/webconsole/network-monitor.js | 6 ++++-- devtools/shared/webconsole/server-logger-monitor.js | 4 ++-- devtools/shared/webconsole/server-logger.js | 4 ++-- devtools/shared/webconsole/utils.js | 8 ++++---- devtools/shared/webconsole/worker-utils.js | 6 ++++++ 12 files changed, 34 insertions(+), 21 deletions(-) diff --git a/devtools/client/webconsole/console-commands.js b/devtools/client/webconsole/console-commands.js index 08192c536473..098592b46a2d 100644 --- a/devtools/client/webconsole/console-commands.js +++ b/devtools/client/webconsole/console-commands.js @@ -1,3 +1,5 @@ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft= javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/console-output.js b/devtools/client/webconsole/console-output.js index 09a48bfda908..1f8b48d82f72 100644 --- a/devtools/client/webconsole/console-output.js +++ b/devtools/client/webconsole/console-output.js @@ -1,4 +1,5 @@ -/* vim: set ts=2 et sw=2 tw=80: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft= javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/hudservice.js b/devtools/client/webconsole/hudservice.js index 55051b5ca5eb..d3c3fa4ab21b 100644 --- a/devtools/client/webconsole/hudservice.js +++ b/devtools/client/webconsole/hudservice.js @@ -1,5 +1,5 @@ -/* -*- js-indent-level: 2; indent-tabs-mode: nil -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft= javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/panel.js b/devtools/client/webconsole/panel.js index fdbe0ca6db76..952644451a08 100644 --- a/devtools/client/webconsole/panel.js +++ b/devtools/client/webconsole/panel.js @@ -1,3 +1,5 @@ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft= javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/webconsole.js b/devtools/client/webconsole/webconsole.js index a0d3442cce2d..557228dffdcb 100644 --- a/devtools/client/webconsole/webconsole.js +++ b/devtools/client/webconsole/webconsole.js @@ -1,5 +1,5 @@ -/* -*- js-indent-level: 2; indent-tabs-mode: nil -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft= javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/shared/webconsole/client.js b/devtools/shared/webconsole/client.js index ceb5eb5f2c15..6d393e836032 100644 --- a/devtools/shared/webconsole/client.js +++ b/devtools/shared/webconsole/client.js @@ -1,5 +1,5 @@ -/* -*- js-indent-level: 2; indent-tabs-mode: nil -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft= javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/shared/webconsole/js-property-provider.js b/devtools/shared/webconsole/js-property-provider.js index 7d059ec63199..35b22229a094 100644 --- a/devtools/shared/webconsole/js-property-provider.js +++ b/devtools/shared/webconsole/js-property-provider.js @@ -1,8 +1,8 @@ -/* -*- js-indent-level: 2; indent-tabs-mode: nil -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft= javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this file, - * You can obtain one at http://mozilla.org/MPL/2.0/. */ + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/shared/webconsole/network-monitor.js b/devtools/shared/webconsole/network-monitor.js index 5cfdc12d9f5b..19a7ebf8c841 100644 --- a/devtools/shared/webconsole/network-monitor.js +++ b/devtools/shared/webconsole/network-monitor.js @@ -1,6 +1,8 @@ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft= javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this file, - * You can obtain one at http://mozilla.org/MPL/2.0/. */ + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/shared/webconsole/server-logger-monitor.js b/devtools/shared/webconsole/server-logger-monitor.js index defa7eae0457..b81aa988866a 100644 --- a/devtools/shared/webconsole/server-logger-monitor.js +++ b/devtools/shared/webconsole/server-logger-monitor.js @@ -1,5 +1,5 @@ -/* -*- js-indent-level: 2; indent-tabs-mode: nil -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft= javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/shared/webconsole/server-logger.js b/devtools/shared/webconsole/server-logger.js index b24be573b6ac..477c2a48fe7e 100644 --- a/devtools/shared/webconsole/server-logger.js +++ b/devtools/shared/webconsole/server-logger.js @@ -1,5 +1,5 @@ -/* -*- js-indent-level: 2; indent-tabs-mode: nil -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft= javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/shared/webconsole/utils.js b/devtools/shared/webconsole/utils.js index 45dc8be7c355..d2dae3c93e25 100644 --- a/devtools/shared/webconsole/utils.js +++ b/devtools/shared/webconsole/utils.js @@ -1,8 +1,8 @@ -/* -*- js-indent-level: 2; indent-tabs-mode: nil -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft= javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this file, - * You can obtain one at http://mozilla.org/MPL/2.0/. */ + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/shared/webconsole/worker-utils.js b/devtools/shared/webconsole/worker-utils.js index fdfa6bcdb7e2..b86ac6109f75 100644 --- a/devtools/shared/webconsole/worker-utils.js +++ b/devtools/shared/webconsole/worker-utils.js @@ -1,3 +1,9 @@ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft= javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + // XXXworkers This file is loaded on the server side for worker debugging. // Since the server is running in the worker thread, it doesn't // have access to Services / Components. This functionality