[Pkg-javascript-commits] [pdf.js] 03/115: Uses editorconfig to maintain consistent coding styles

David Prévot taffit at moszumanska.debian.org
Wed Dec 16 20:03:08 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit a2ba1b81894f65bab35a5126d290bf4282d27e62
Author: Manas <prometheansacrifice at gmail.com>
Date:   Fri Nov 13 00:04:33 2015 +0530

    Uses editorconfig to maintain consistent coding styles
    
    Removes the following as they unnecessary
    /* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
    /* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
---
 .editorconfig                                       | 17 +++++++++++++++++
 examples/acroforms/forms.js                         |  2 --
 examples/helloworld/hello.js                        |  2 --
 examples/node/domparsermock.js                      |  2 --
 examples/node/domstubs.js                           |  2 --
 examples/node/getinfo.js                            |  2 --
 examples/node/pdf2svg.js                            |  2 --
 examples/svgviewer/viewer.js                        |  2 --
 extensions/chromium/contentscript.js                |  2 --
 extensions/chromium/extension-router.js             |  2 --
 extensions/chromium/feature-detect.js               |  2 --
 extensions/chromium/options/options.js              |  2 --
 extensions/chromium/pageAction/background.js        |  2 --
 extensions/chromium/pdfHandler-v2.js                |  2 --
 extensions/chromium/pdfHandler-vcros.js             |  2 --
 extensions/chromium/pdfHandler.js                   |  2 --
 extensions/chromium/preserve-referer.js             |  2 --
 extensions/chromium/restoretab.js                   |  2 --
 extensions/chromium/suppress-update.js              |  2 --
 extensions/firefox/bootstrap.js                     |  2 --
 extensions/firefox/chrome/content.js                |  2 --
 extensions/firefox/content/PdfJs-stub.jsm           |  2 --
 extensions/firefox/content/PdfJs.jsm                |  2 --
 extensions/firefox/content/PdfJsTelemetry-addon.jsm |  2 --
 extensions/firefox/content/PdfJsTelemetry.jsm       |  2 --
 extensions/firefox/content/PdfStreamConverter.jsm   |  2 --
 extensions/firefox/content/PdfjsChromeUtils.jsm     |  2 --
 extensions/firefox/content/PdfjsContentUtils.jsm    |  2 --
 extensions/firefox/content/pdfjschildbootstrap.js   |  2 --
 extensions/firefox/tools/l10n.js                    |  2 --
 external/builder/builder.js                         |  2 --
 external/builder/test.js                            |  2 --
 external/crlfchecker/crlfchecker.js                 |  2 --
 external/crlfchecker/normtext.js                    |  2 --
 external/importL10n/locales.js                      |  2 --
 make.js                                             |  6 +-----
 src/core/annotation.js                              |  2 --
 src/core/arithmetic_decoder.js                      |  2 --
 src/core/bidi.js                                    |  2 --
 src/core/charsets.js                                |  2 --
 src/core/chunked_stream.js                          |  2 --
 src/core/cmap.js                                    |  2 --
 src/core/colorspace.js                              |  2 --
 src/core/core.js                                    |  2 --
 src/core/crypto.js                                  |  2 --
 src/core/evaluator.js                               |  2 --
 src/core/font_renderer.js                           |  2 --
 src/core/fonts.js                                   |  2 --
 src/core/function.js                                |  2 --
 src/core/glyphlist.js                               |  2 --
 src/core/image.js                                   |  2 --
 src/core/jbig2.js                                   |  2 --
 src/core/jpg.js                                     |  2 --
 src/core/jpx.js                                     |  2 --
 src/core/metrics.js                                 |  2 --
 src/core/murmurhash3.js                             |  2 --
 src/core/network.js                                 |  2 --
 src/core/obj.js                                     |  2 --
 src/core/parser.js                                  |  2 --
 src/core/pattern.js                                 |  2 --
 src/core/pdf_manager.js                             |  2 --
 src/core/ps_parser.js                               |  2 --
 src/core/stream.js                                  |  2 --
 src/core/worker.js                                  |  2 --
 src/display/annotation_helper.js                    |  2 --
 src/display/api.js                                  |  2 --
 src/display/canvas.js                               |  2 --
 src/display/font_loader.js                          |  2 --
 src/display/metadata.js                             |  2 --
 src/display/pattern_helper.js                       |  2 --
 src/display/svg.js                                  |  2 --
 src/display/webgl.js                                |  2 --
 src/pdf.js                                          |  2 --
 src/shared/cffStandardStrings.js                    |  2 --
 src/shared/fonts_utils.js                           |  2 --
 src/shared/util.js                                  |  2 --
 src/worker_loader.js                                |  2 --
 test/downloadutils.js                               |  2 --
 test/driver.js                                      |  2 --
 test/features/tests.js                              |  2 --
 test/features/worker-stub.js                        |  2 --
 test/font/fontutils.js                              |  2 --
 test/font/ttxdriver.js                              |  2 --
 test/test.js                                        |  2 --
 test/testutils.js                                   |  2 --
 test/unit/annotation_layer_spec.js                  |  2 --
 test/unit/api_spec.js                               |  2 --
 test/unit/cmap_spec.js                              |  2 --
 test/unit/crypto_spec.js                            |  2 --
 test/unit/evaluator_spec.js                         |  2 --
 test/unit/font_spec.js                              |  2 --
 test/unit/function_spec.js                          |  2 --
 test/unit/metadata_spec.js                          |  2 --
 test/unit/obj_spec.js                               |  2 --
 test/unit/parser_spec.js                            |  2 --
 test/unit/stream_spec.js                            |  2 --
 test/unit/testreporter.js                           |  2 --
 test/unit/ui_utils_spec.js                          |  2 --
 test/unit/util_spec.js                              |  2 --
 test/webbrowser.js                                  |  2 --
 test/webserver.js                                   |  2 --
 web/annotations_layer_builder.js                    |  2 --
 web/chromecom.js                                    |  1 -
 web/compatibility.js                                |  2 --
 web/debugger.js                                     |  2 --
 web/default_preferences.js                          |  2 --
 web/download_manager.js                             |  1 -
 web/firefoxcom.js                                   |  1 -
 web/hand_tool.js                                    |  2 --
 web/interfaces.js                                   |  1 -
 web/mozPrintCallback_polyfill.js                    |  2 --
 web/overlay_manager.js                              |  2 --
 web/password_prompt.js                              |  2 --
 web/pdf_attachment_view.js                          |  2 --
 web/pdf_document_properties.js                      |  2 --
 web/pdf_find_bar.js                                 |  1 -
 web/pdf_find_controller.js                          |  1 -
 web/pdf_history.js                                  |  2 --
 web/pdf_link_service.js                             |  2 --
 web/pdf_outline_view.js                             |  2 --
 web/pdf_page_view.js                                |  2 --
 web/pdf_presentation_mode.js                        |  2 --
 web/pdf_rendering_queue.js                          |  2 --
 web/pdf_thumbnail_view.js                           |  2 --
 web/pdf_thumbnail_viewer.js                         |  2 --
 web/pdf_viewer.component.js                         |  2 --
 web/pdf_viewer.js                                   |  2 --
 web/preferences.js                                  |  2 --
 web/secondary_toolbar.js                            |  2 --
 web/text_layer_builder.js                           |  1 -
 web/ui_utils.js                                     |  1 -
 web/view_history.js                                 |  2 --
 web/viewer.js                                       |  2 --
 133 files changed, 18 insertions(+), 259 deletions(-)

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..3a6a7dc
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,17 @@
+root = true
+
+[*.{js,jsm,html,css}]
+charset = utf-8
+end_of_line = lf
+indent_size = 2
+indent_style = space
+insert_final_newline = true
+max_line_length = 80
+trim_trailing_whitespace = true
+
+[*.md]
+max_line_length = 0
+trim_trailing_whitespace = false
+
+[COMMIT_EDITMSG]
+max_line_length = 0
diff --git a/examples/acroforms/forms.js b/examples/acroforms/forms.js
index bcdaec0..eda3066 100644
--- a/examples/acroforms/forms.js
+++ b/examples/acroforms/forms.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 
 //
 // Basic AcroForms input controls rendering
diff --git a/examples/helloworld/hello.js b/examples/helloworld/hello.js
index c8417ae..9cd8295 100644
--- a/examples/helloworld/hello.js
+++ b/examples/helloworld/hello.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 
 //
 // See README for overview
diff --git a/examples/node/domparsermock.js b/examples/node/domparsermock.js
index cf797c7..1dde248 100644
--- a/examples/node/domparsermock.js
+++ b/examples/node/domparsermock.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Any copyright is dedicated to the Public Domain.
  * http://creativecommons.org/publicdomain/zero/1.0/ */
 
diff --git a/examples/node/domstubs.js b/examples/node/domstubs.js
index ed2fe4e..4918a4a 100644
--- a/examples/node/domstubs.js
+++ b/examples/node/domstubs.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Any copyright is dedicated to the Public Domain.
  * http://creativecommons.org/publicdomain/zero/1.0/ */
 
diff --git a/examples/node/getinfo.js b/examples/node/getinfo.js
index ae45db9..9c2faff 100644
--- a/examples/node/getinfo.js
+++ b/examples/node/getinfo.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Any copyright is dedicated to the Public Domain.
  * http://creativecommons.org/publicdomain/zero/1.0/ */
 
diff --git a/examples/node/pdf2svg.js b/examples/node/pdf2svg.js
index a7d8cac..d4defb4 100644
--- a/examples/node/pdf2svg.js
+++ b/examples/node/pdf2svg.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Any copyright is dedicated to the Public Domain.
  * http://creativecommons.org/publicdomain/zero/1.0/ */
 
diff --git a/examples/svgviewer/viewer.js b/examples/svgviewer/viewer.js
index 3368a13..344315e 100644
--- a/examples/svgviewer/viewer.js
+++ b/examples/svgviewer/viewer.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 
 //
 // See README for overview
diff --git a/extensions/chromium/contentscript.js b/extensions/chromium/contentscript.js
index f6d7cb8..c78cf4a 100644
--- a/extensions/chromium/contentscript.js
+++ b/extensions/chromium/contentscript.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /*
 Copyright 2014 Mozilla Foundation
 
diff --git a/extensions/chromium/extension-router.js b/extensions/chromium/extension-router.js
index 2e9d288..d9a0c23 100644
--- a/extensions/chromium/extension-router.js
+++ b/extensions/chromium/extension-router.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /*
 Copyright 2013 Mozilla Foundation
 
diff --git a/extensions/chromium/feature-detect.js b/extensions/chromium/feature-detect.js
index 5357378..65b2446 100644
--- a/extensions/chromium/feature-detect.js
+++ b/extensions/chromium/feature-detect.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /*
 Copyright 2014 Mozilla Foundation
 
diff --git a/extensions/chromium/options/options.js b/extensions/chromium/options/options.js
index ef06467..214ede9 100644
--- a/extensions/chromium/options/options.js
+++ b/extensions/chromium/options/options.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /*
 Copyright 2015 Mozilla Foundation
 
diff --git a/extensions/chromium/pageAction/background.js b/extensions/chromium/pageAction/background.js
index 36623cf..5a504ad 100644
--- a/extensions/chromium/pageAction/background.js
+++ b/extensions/chromium/pageAction/background.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /*
 Copyright 2014 Mozilla Foundation
 
diff --git a/extensions/chromium/pdfHandler-v2.js b/extensions/chromium/pdfHandler-v2.js
index 7645697..ec4ba1c 100644
--- a/extensions/chromium/pdfHandler-v2.js
+++ b/extensions/chromium/pdfHandler-v2.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /*
 Copyright 2013 Mozilla Foundation
 
diff --git a/extensions/chromium/pdfHandler-vcros.js b/extensions/chromium/pdfHandler-vcros.js
index 670ec01..ca4855b 100644
--- a/extensions/chromium/pdfHandler-vcros.js
+++ b/extensions/chromium/pdfHandler-vcros.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /*
 Copyright 2014 Mozilla Foundation
 
diff --git a/extensions/chromium/pdfHandler.js b/extensions/chromium/pdfHandler.js
index 84e7f59..38e3b09 100644
--- a/extensions/chromium/pdfHandler.js
+++ b/extensions/chromium/pdfHandler.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /*
 Copyright 2012 Mozilla Foundation
 
diff --git a/extensions/chromium/preserve-referer.js b/extensions/chromium/preserve-referer.js
index f9702ea..5f5741c 100644
--- a/extensions/chromium/preserve-referer.js
+++ b/extensions/chromium/preserve-referer.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /*
 Copyright 2015 Mozilla Foundation
 
diff --git a/extensions/chromium/restoretab.js b/extensions/chromium/restoretab.js
index a5d84b1..3d17b44 100644
--- a/extensions/chromium/restoretab.js
+++ b/extensions/chromium/restoretab.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /*
 Copyright 2015 Mozilla Foundation
 
diff --git a/extensions/chromium/suppress-update.js b/extensions/chromium/suppress-update.js
index 0f985f8..b150112 100644
--- a/extensions/chromium/suppress-update.js
+++ b/extensions/chromium/suppress-update.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /*
 Copyright 2015 Mozilla Foundation
 
diff --git a/extensions/firefox/bootstrap.js b/extensions/firefox/bootstrap.js
index 7724463..2fb8cac 100644
--- a/extensions/firefox/bootstrap.js
+++ b/extensions/firefox/bootstrap.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/extensions/firefox/chrome/content.js b/extensions/firefox/chrome/content.js
index e52938a..143ed30 100644
--- a/extensions/firefox/chrome/content.js
+++ b/extensions/firefox/chrome/content.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2014 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/extensions/firefox/content/PdfJs-stub.jsm b/extensions/firefox/content/PdfJs-stub.jsm
index 2d65e25..7f96429 100644
--- a/extensions/firefox/content/PdfJs-stub.jsm
+++ b/extensions/firefox/content/PdfJs-stub.jsm
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/extensions/firefox/content/PdfJs.jsm b/extensions/firefox/content/PdfJs.jsm
index b026ad1..a1433d2 100644
--- a/extensions/firefox/content/PdfJs.jsm
+++ b/extensions/firefox/content/PdfJs.jsm
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/extensions/firefox/content/PdfJsTelemetry-addon.jsm b/extensions/firefox/content/PdfJsTelemetry-addon.jsm
index c489fdd..a31687d 100644
--- a/extensions/firefox/content/PdfJsTelemetry-addon.jsm
+++ b/extensions/firefox/content/PdfJsTelemetry-addon.jsm
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2013 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/extensions/firefox/content/PdfJsTelemetry.jsm b/extensions/firefox/content/PdfJsTelemetry.jsm
index c284fae..275da9d 100644
--- a/extensions/firefox/content/PdfJsTelemetry.jsm
+++ b/extensions/firefox/content/PdfJsTelemetry.jsm
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2013 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/extensions/firefox/content/PdfStreamConverter.jsm b/extensions/firefox/content/PdfStreamConverter.jsm
index d21d4b2..d97344c 100644
--- a/extensions/firefox/content/PdfStreamConverter.jsm
+++ b/extensions/firefox/content/PdfStreamConverter.jsm
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/extensions/firefox/content/PdfjsChromeUtils.jsm b/extensions/firefox/content/PdfjsChromeUtils.jsm
index 804a3aa..a5f4832 100644
--- a/extensions/firefox/content/PdfjsChromeUtils.jsm
+++ b/extensions/firefox/content/PdfjsChromeUtils.jsm
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/extensions/firefox/content/PdfjsContentUtils.jsm b/extensions/firefox/content/PdfjsContentUtils.jsm
index ce65f8b..92e7ade 100644
--- a/extensions/firefox/content/PdfjsContentUtils.jsm
+++ b/extensions/firefox/content/PdfjsContentUtils.jsm
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/extensions/firefox/content/pdfjschildbootstrap.js b/extensions/firefox/content/pdfjschildbootstrap.js
index 737a490..2cab05f 100644
--- a/extensions/firefox/content/pdfjschildbootstrap.js
+++ b/extensions/firefox/content/pdfjschildbootstrap.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2014 Mozilla Foundation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/extensions/firefox/tools/l10n.js b/extensions/firefox/tools/l10n.js
index 93d28b9..9b2d240 100644
--- a/extensions/firefox/tools/l10n.js
+++ b/extensions/firefox/tools/l10n.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* globals FirefoxCom */
 
 'use strict';
diff --git a/external/builder/builder.js b/external/builder/builder.js
index d3b6ed8..7552ad0 100644
--- a/external/builder/builder.js
+++ b/external/builder/builder.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* jshint node:true */
 /* globals cp, ls, test */
 
diff --git a/external/builder/test.js b/external/builder/test.js
index 274c68f..5a390ab 100644
--- a/external/builder/test.js
+++ b/external/builder/test.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* jshint node:true */
 /* globals cat, cd, echo, ls */
 'use strict';
diff --git a/external/crlfchecker/crlfchecker.js b/external/crlfchecker/crlfchecker.js
index f368949..5eae86c 100644
--- a/external/crlfchecker/crlfchecker.js
+++ b/external/crlfchecker/crlfchecker.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* jshint node:true */
 /* globals cat, echo, exit, ls */
 
diff --git a/external/crlfchecker/normtext.js b/external/crlfchecker/normtext.js
index 3bfda0f..ef8a919 100644
--- a/external/crlfchecker/normtext.js
+++ b/external/crlfchecker/normtext.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/external/importL10n/locales.js b/external/importL10n/locales.js
index f37e8cf..a3c5be3 100644
--- a/external/importL10n/locales.js
+++ b/external/importL10n/locales.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/make.js b/make.js
index 0525499..2b15f3c 100644
--- a/make.js
+++ b/make.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -604,11 +602,9 @@ target.singlefile = function() {
 };
 
 function stripCommentHeaders(content, filename) {
-  // Strip out all the vim/license headers.
   var notEndOfComment = '(?:[^*]|\\*(?!/))+';
   var reg = new RegExp(
-    '\n/\\* -\\*- Mode' + notEndOfComment + '\\*/\\s*' +
-    '(?:/\\*' + notEndOfComment + '\\*/\\s*|//(?!#).*\n\\s*)+' +
+    '\n(?:/\\*' + notEndOfComment + '\\*/\\s*|//(?!#).*\n\\s*)+' +
     '\'use strict\';', 'g');
   content = content.replace(reg, '');
   return content;
diff --git a/src/core/annotation.js b/src/core/annotation.js
index 98eb630..120afef 100644
--- a/src/core/annotation.js
+++ b/src/core/annotation.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/core/arithmetic_decoder.js b/src/core/arithmetic_decoder.js
index 531e6d9..57faa57 100644
--- a/src/core/arithmetic_decoder.js
+++ b/src/core/arithmetic_decoder.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/core/bidi.js b/src/core/bidi.js
index 331dee9..0a347d3 100644
--- a/src/core/bidi.js
+++ b/src/core/bidi.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* globals PDFJS */
 /* Copyright 2012 Mozilla Foundation
  *
diff --git a/src/core/charsets.js b/src/core/charsets.js
index a6c0cd5..3c0ee7b 100644
--- a/src/core/charsets.js
+++ b/src/core/charsets.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/core/chunked_stream.js b/src/core/chunked_stream.js
index de20ba1..a1fcfac 100644
--- a/src/core/chunked_stream.js
+++ b/src/core/chunked_stream.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/core/cmap.js b/src/core/cmap.js
index cabc6d2..fb8ba1a 100644
--- a/src/core/cmap.js
+++ b/src/core/cmap.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/core/colorspace.js b/src/core/colorspace.js
index e74d3f9..eead7be 100644
--- a/src/core/colorspace.js
+++ b/src/core/colorspace.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/core/core.js b/src/core/core.js
index 2342e31..9ff10cd 100644
--- a/src/core/core.js
+++ b/src/core/core.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/core/crypto.js b/src/core/crypto.js
index 80c8fe7..dc4ce30 100644
--- a/src/core/crypto.js
+++ b/src/core/crypto.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/core/evaluator.js b/src/core/evaluator.js
index 6c4d33f..51ff197 100644
--- a/src/core/evaluator.js
+++ b/src/core/evaluator.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/core/font_renderer.js b/src/core/font_renderer.js
index d71051f..a7267c8 100644
--- a/src/core/font_renderer.js
+++ b/src/core/font_renderer.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/core/fonts.js b/src/core/fonts.js
index b04fbdc..fef393d 100644
--- a/src/core/fonts.js
+++ b/src/core/fonts.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/core/function.js b/src/core/function.js
index 709c136..b85e7ee 100644
--- a/src/core/function.js
+++ b/src/core/function.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/core/glyphlist.js b/src/core/glyphlist.js
index b2752c5..1ddef6a 100644
--- a/src/core/glyphlist.js
+++ b/src/core/glyphlist.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/core/image.js b/src/core/image.js
index 2d1f9d6..fdbd89b 100644
--- a/src/core/image.js
+++ b/src/core/image.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/core/jbig2.js b/src/core/jbig2.js
old mode 100755
new mode 100644
index ad3149c..1fc7c97
--- a/src/core/jbig2.js
+++ b/src/core/jbig2.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/core/jpg.js b/src/core/jpg.js
index ef321bd..2f31813 100644
--- a/src/core/jpg.js
+++ b/src/core/jpg.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- /
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 
 /* Copyright 2014 Mozilla Foundation
  *
diff --git a/src/core/jpx.js b/src/core/jpx.js
index cc497ed..97cd11f 100644
--- a/src/core/jpx.js
+++ b/src/core/jpx.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/core/metrics.js b/src/core/metrics.js
index 2f002e2..61740c1 100644
--- a/src/core/metrics.js
+++ b/src/core/metrics.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/core/murmurhash3.js b/src/core/murmurhash3.js
index deaba73..813358d 100644
--- a/src/core/murmurhash3.js
+++ b/src/core/murmurhash3.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 
 /* Copyright 2014 Opera Software ASA
  *
diff --git a/src/core/network.js b/src/core/network.js
index c39dc06..fa09749 100644
--- a/src/core/network.js
+++ b/src/core/network.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/core/obj.js b/src/core/obj.js
index ef8766e..82ea426 100644
--- a/src/core/obj.js
+++ b/src/core/obj.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/core/parser.js b/src/core/parser.js
index 9ee842b..f36202e 100644
--- a/src/core/parser.js
+++ b/src/core/parser.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/core/pattern.js b/src/core/pattern.js
index a922ae7..a7ef33b 100644
--- a/src/core/pattern.js
+++ b/src/core/pattern.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/core/pdf_manager.js b/src/core/pdf_manager.js
index 9ae1b0d..7fbe577 100644
--- a/src/core/pdf_manager.js
+++ b/src/core/pdf_manager.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/core/ps_parser.js b/src/core/ps_parser.js
index a49d7d6..9727a0d 100644
--- a/src/core/ps_parser.js
+++ b/src/core/ps_parser.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2014 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/core/stream.js b/src/core/stream.js
index b6457bd..3fb3748 100644
--- a/src/core/stream.js
+++ b/src/core/stream.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/core/worker.js b/src/core/worker.js
index 74ff464..dd4bd9a 100644
--- a/src/core/worker.js
+++ b/src/core/worker.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/display/annotation_helper.js b/src/display/annotation_helper.js
index 13d1db6..f9c0c8c 100644
--- a/src/display/annotation_helper.js
+++ b/src/display/annotation_helper.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2014 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/display/api.js b/src/display/api.js
index 655582a..c4bea7c 100644
--- a/src/display/api.js
+++ b/src/display/api.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/display/canvas.js b/src/display/canvas.js
index 679359f..ad58f84 100644
--- a/src/display/canvas.js
+++ b/src/display/canvas.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/display/font_loader.js b/src/display/font_loader.js
index 5b6a9da..b800bf0 100644
--- a/src/display/font_loader.js
+++ b/src/display/font_loader.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/display/metadata.js b/src/display/metadata.js
index 8a5e803..148d6c7 100644
--- a/src/display/metadata.js
+++ b/src/display/metadata.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* globals Document, error, PDFJS */
 /* Copyright 2012 Mozilla Foundation
  *
diff --git a/src/display/pattern_helper.js b/src/display/pattern_helper.js
index e23dc0a..d8693aa 100644
--- a/src/display/pattern_helper.js
+++ b/src/display/pattern_helper.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2014 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/display/svg.js b/src/display/svg.js
index bf984df..6facd3f 100644
--- a/src/display/svg.js
+++ b/src/display/svg.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/display/webgl.js b/src/display/webgl.js
index 8a64dd4..b5d9c8b 100644
--- a/src/display/webgl.js
+++ b/src/display/webgl.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2014 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/pdf.js b/src/pdf.js
index 6d838eb..1ea5ffa 100644
--- a/src/pdf.js
+++ b/src/pdf.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/shared/cffStandardStrings.js b/src/shared/cffStandardStrings.js
index 7959750..7fa8ef7 100644
--- a/src/shared/cffStandardStrings.js
+++ b/src/shared/cffStandardStrings.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/shared/fonts_utils.js b/src/shared/fonts_utils.js
index 6b3c331..d282983 100644
--- a/src/shared/fonts_utils.js
+++ b/src/shared/fonts_utils.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/shared/util.js b/src/shared/util.js
index 1adeb82..a99b05d 100644
--- a/src/shared/util.js
+++ b/src/shared/util.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/src/worker_loader.js b/src/worker_loader.js
index 21f05bd..2500f99 100644
--- a/src/worker_loader.js
+++ b/src/worker_loader.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/test/downloadutils.js b/test/downloadutils.js
index 486ecff..d2f4333 100644
--- a/test/downloadutils.js
+++ b/test/downloadutils.js
@@ -1,5 +1,3 @@
-/* -*- Mode: js; js-indent-level: 2; indent-tabs-mode: nil; tab-width: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /*
  * Copyright 2014 Mozilla Foundation
  *
diff --git a/test/driver.js b/test/driver.js
index aed80e3..2802dde 100644
--- a/test/driver.js
+++ b/test/driver.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/test/features/tests.js b/test/features/tests.js
index 5c0a1a7..65d1507 100644
--- a/test/features/tests.js
+++ b/test/features/tests.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/test/features/worker-stub.js b/test/features/worker-stub.js
index bceb6e3..d26f65f 100644
--- a/test/features/worker-stub.js
+++ b/test/features/worker-stub.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/test/font/fontutils.js b/test/font/fontutils.js
index 14a1829..a8755d2 100644
--- a/test/font/fontutils.js
+++ b/test/font/fontutils.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /*
  * Copyright 2013 Mozilla Foundation
  *
diff --git a/test/font/ttxdriver.js b/test/font/ttxdriver.js
index c9e95a7..9380666 100644
--- a/test/font/ttxdriver.js
+++ b/test/font/ttxdriver.js
@@ -1,5 +1,3 @@
-/* -*- Mode: js; js-indent-level: 2; indent-tabs-mode: nil; tab-width: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /*
  * Copyright 2014 Mozilla Foundation
  *
diff --git a/test/test.js b/test/test.js
index 895aa6b..1d13de1 100644
--- a/test/test.js
+++ b/test/test.js
@@ -1,5 +1,3 @@
-/* -*- Mode: js; js-indent-level: 2; indent-tabs-mode: nil; tab-width: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /*
  * Copyright 2014 Mozilla Foundation
  *
diff --git a/test/testutils.js b/test/testutils.js
index 795922e..3640990 100644
--- a/test/testutils.js
+++ b/test/testutils.js
@@ -1,5 +1,3 @@
-/* -*- Mode: js; js-indent-level: 2; indent-tabs-mode: nil; tab-width: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /*
  * Copyright 2014 Mozilla Foundation
  *
diff --git a/test/unit/annotation_layer_spec.js b/test/unit/annotation_layer_spec.js
index a8ec906..99d2f5a 100644
--- a/test/unit/annotation_layer_spec.js
+++ b/test/unit/annotation_layer_spec.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* globals expect, it, describe, Dict, Name, Annotation, AnnotationBorderStyle,
            AnnotationBorderStyleType */
 
diff --git a/test/unit/api_spec.js b/test/unit/api_spec.js
index d374216..fa2f6ab 100644
--- a/test/unit/api_spec.js
+++ b/test/unit/api_spec.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* globals PDFJS, expect, it, describe, Promise, combineUrl, waitsFor,
            InvalidPDFException, MissingPDFException, StreamType, FontType,
            PDFDocumentProxy, PasswordException, PasswordResponses,
diff --git a/test/unit/cmap_spec.js b/test/unit/cmap_spec.js
index f0edf41..034d512 100644
--- a/test/unit/cmap_spec.js
+++ b/test/unit/cmap_spec.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* globals expect, it, describe, StringStream, CMapFactory, Name, CMap,
            IdentityCMap */
 
diff --git a/test/unit/crypto_spec.js b/test/unit/crypto_spec.js
index ac8a991..5bd01cd 100644
--- a/test/unit/crypto_spec.js
+++ b/test/unit/crypto_spec.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* globals expect, it, describe, calculateMD5, ARCFourCipher, Name,
            CipherTransformFactory, calculateSHA256, calculateSHA384,
            calculateSHA512, AES128Cipher, AES256Cipher, PDF17, PDF20,
diff --git a/test/unit/evaluator_spec.js b/test/unit/evaluator_spec.js
index c4543c4..5b1c374 100644
--- a/test/unit/evaluator_spec.js
+++ b/test/unit/evaluator_spec.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* globals expect, it, describe, PartialEvaluator, StringStream, OPS,
            OperatorList, waitsFor, runs, Dict, Name, Stream, WorkerTask */
 
diff --git a/test/unit/font_spec.js b/test/unit/font_spec.js
index 4b14168..7f25ac0 100644
--- a/test/unit/font_spec.js
+++ b/test/unit/font_spec.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* globals expect, it, describe, CFFCompiler, CFFParser, CFFIndex, CFFStrings,
            SEAC_ANALYSIS_ENABLED:true, Type1Parser, StringStream */
 
diff --git a/test/unit/function_spec.js b/test/unit/function_spec.js
index 7d22670..a2f8c11 100644
--- a/test/unit/function_spec.js
+++ b/test/unit/function_spec.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* globals expect, it, describe, beforeEach, isArray, StringStream,
            PostScriptParser, PostScriptLexer, PostScriptEvaluator,
            PostScriptCompiler*/
diff --git a/test/unit/metadata_spec.js b/test/unit/metadata_spec.js
index 70ccf64..20f9228 100644
--- a/test/unit/metadata_spec.js
+++ b/test/unit/metadata_spec.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* globals expect, it, describe, Metadata */
 
 'use strict';
diff --git a/test/unit/obj_spec.js b/test/unit/obj_spec.js
index 8245be9..7b91899 100644
--- a/test/unit/obj_spec.js
+++ b/test/unit/obj_spec.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* globals expect, it, describe, beforeEach, Name, Dict, Ref, RefSet, Cmd,
            jasmine */
 
diff --git a/test/unit/parser_spec.js b/test/unit/parser_spec.js
index df98cae..d052391 100644
--- a/test/unit/parser_spec.js
+++ b/test/unit/parser_spec.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* globals expect, it, describe, StringStream, Lexer, Linearization */
 
 'use strict';
diff --git a/test/unit/stream_spec.js b/test/unit/stream_spec.js
index 152eb0d..41766bb 100644
--- a/test/unit/stream_spec.js
+++ b/test/unit/stream_spec.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* globals expect, it, describe, beforeEach, Stream, PredictorStream, Dict */
 
 'use strict';
diff --git a/test/unit/testreporter.js b/test/unit/testreporter.js
index e596712..070faf4 100644
--- a/test/unit/testreporter.js
+++ b/test/unit/testreporter.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 
 'use strict';
 
diff --git a/test/unit/ui_utils_spec.js b/test/unit/ui_utils_spec.js
index 5a46867..b6f4a9c 100644
--- a/test/unit/ui_utils_spec.js
+++ b/test/unit/ui_utils_spec.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* globals expect, it, describe, binarySearchFirstItem, removeNullCharacters */
 
 'use strict';
diff --git a/test/unit/util_spec.js b/test/unit/util_spec.js
index 5c4b838..6ab0df3 100644
--- a/test/unit/util_spec.js
+++ b/test/unit/util_spec.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* globals expect, it, describe, combineUrl, Dict, isDict, Name, PDFJS,
            stringToPDFString, isExternalLinkTargetSet, LinkTarget */
 
diff --git a/test/webbrowser.js b/test/webbrowser.js
index 2b1338e..0e69340 100644
--- a/test/webbrowser.js
+++ b/test/webbrowser.js
@@ -1,5 +1,3 @@
-/* -*- Mode: js; js-indent-level: 2; indent-tabs-mode: nil; tab-width: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /*
  * Copyright 2014 Mozilla Foundation
  *
diff --git a/test/webserver.js b/test/webserver.js
index ee5e802..8149fd1 100644
--- a/test/webserver.js
+++ b/test/webserver.js
@@ -1,5 +1,3 @@
-/* -*- Mode: js; js-indent-level: 2; indent-tabs-mode: nil; tab-width: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /*
  * Copyright 2014 Mozilla Foundation
  *
diff --git a/web/annotations_layer_builder.js b/web/annotations_layer_builder.js
index 8b4e66c..7e81c7e 100644
--- a/web/annotations_layer_builder.js
+++ b/web/annotations_layer_builder.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2014 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/chromecom.js b/web/chromecom.js
index 134dd6f..2b136fc 100644
--- a/web/chromecom.js
+++ b/web/chromecom.js
@@ -1,4 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* Copyright 2013 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/compatibility.js b/web/compatibility.js
index 594c20b..1119a27 100644
--- a/web/compatibility.js
+++ b/web/compatibility.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/debugger.js b/web/debugger.js
index 046fd34..9c35b63 100644
--- a/web/debugger.js
+++ b/web/debugger.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/default_preferences.js b/web/default_preferences.js
index ea2d4ae..510c50d 100644
--- a/web/default_preferences.js
+++ b/web/default_preferences.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2013 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/download_manager.js b/web/download_manager.js
index 965cc70..62564e5 100644
--- a/web/download_manager.js
+++ b/web/download_manager.js
@@ -1,4 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* Copyright 2013 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/firefoxcom.js b/web/firefoxcom.js
index d6c71d5..70c5bd1 100644
--- a/web/firefoxcom.js
+++ b/web/firefoxcom.js
@@ -1,4 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/hand_tool.js b/web/hand_tool.js
index 70d04f0..a16e019 100644
--- a/web/hand_tool.js
+++ b/web/hand_tool.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2013 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/interfaces.js b/web/interfaces.js
index e096fe7..1eec7de 100644
--- a/web/interfaces.js
+++ b/web/interfaces.js
@@ -1,4 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* Copyright 2014 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/mozPrintCallback_polyfill.js b/web/mozPrintCallback_polyfill.js
index 8127a8e..d1a2f8e 100644
--- a/web/mozPrintCallback_polyfill.js
+++ b/web/mozPrintCallback_polyfill.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2013 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/overlay_manager.js b/web/overlay_manager.js
index 81a0c0d..362f549 100644
--- a/web/overlay_manager.js
+++ b/web/overlay_manager.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2014 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/password_prompt.js b/web/password_prompt.js
index 2717c86..4bd630e 100644
--- a/web/password_prompt.js
+++ b/web/password_prompt.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/pdf_attachment_view.js b/web/pdf_attachment_view.js
index 33247b6..1d39def 100644
--- a/web/pdf_attachment_view.js
+++ b/web/pdf_attachment_view.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/pdf_document_properties.js b/web/pdf_document_properties.js
index 51e36ec..5d0e74a 100644
--- a/web/pdf_document_properties.js
+++ b/web/pdf_document_properties.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/pdf_find_bar.js b/web/pdf_find_bar.js
index b187fd8..7fddd5d 100644
--- a/web/pdf_find_bar.js
+++ b/web/pdf_find_bar.js
@@ -1,4 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/pdf_find_controller.js b/web/pdf_find_controller.js
index 9d30067..6f264a8 100644
--- a/web/pdf_find_controller.js
+++ b/web/pdf_find_controller.js
@@ -1,4 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/pdf_history.js b/web/pdf_history.js
index 99f2553..fdca1e5 100644
--- a/web/pdf_history.js
+++ b/web/pdf_history.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/pdf_link_service.js b/web/pdf_link_service.js
index 2f14855..c069ad3 100644
--- a/web/pdf_link_service.js
+++ b/web/pdf_link_service.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2015 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/pdf_outline_view.js b/web/pdf_outline_view.js
index d7602b5..84c8336 100644
--- a/web/pdf_outline_view.js
+++ b/web/pdf_outline_view.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/pdf_page_view.js b/web/pdf_page_view.js
index f882311..b75f1f4 100644
--- a/web/pdf_page_view.js
+++ b/web/pdf_page_view.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/pdf_presentation_mode.js b/web/pdf_presentation_mode.js
index 16b5445..5b492ce 100644
--- a/web/pdf_presentation_mode.js
+++ b/web/pdf_presentation_mode.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/pdf_rendering_queue.js b/web/pdf_rendering_queue.js
index b17a1ee..89f77cd 100644
--- a/web/pdf_rendering_queue.js
+++ b/web/pdf_rendering_queue.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/pdf_thumbnail_view.js b/web/pdf_thumbnail_view.js
index 24e4cf5..ec754b2 100644
--- a/web/pdf_thumbnail_view.js
+++ b/web/pdf_thumbnail_view.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/pdf_thumbnail_viewer.js b/web/pdf_thumbnail_viewer.js
index 5c407ad..816b314 100644
--- a/web/pdf_thumbnail_viewer.js
+++ b/web/pdf_thumbnail_viewer.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/pdf_viewer.component.js b/web/pdf_viewer.component.js
index cb3dbad..55c0f88 100644
--- a/web/pdf_viewer.component.js
+++ b/web/pdf_viewer.component.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2014 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/pdf_viewer.js b/web/pdf_viewer.js
index 0e4f973..fa0cb41 100644
--- a/web/pdf_viewer.js
+++ b/web/pdf_viewer.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2014 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/preferences.js b/web/preferences.js
index 967101d..e62b10d 100644
--- a/web/preferences.js
+++ b/web/preferences.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2013 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/secondary_toolbar.js b/web/secondary_toolbar.js
index 2714d79..a672783 100644
--- a/web/secondary_toolbar.js
+++ b/web/secondary_toolbar.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/text_layer_builder.js b/web/text_layer_builder.js
index 1986e7c..baebc2b 100644
--- a/web/text_layer_builder.js
+++ b/web/text_layer_builder.js
@@ -1,4 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/ui_utils.js b/web/ui_utils.js
index e389129..6f5aa26 100644
--- a/web/ui_utils.js
+++ b/web/ui_utils.js
@@ -1,4 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/view_history.js b/web/view_history.js
index a054821..e6cdc16 100644
--- a/web/view_history.js
+++ b/web/view_history.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/web/viewer.js b/web/viewer.js
index 2f1fe59..b7d1cca 100644
--- a/web/viewer.js
+++ b/web/viewer.js
@@ -1,5 +1,3 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list