[Pkg-javascript-commits] [pdf.js] 10/161: Making extensions/chromium/extension-router.js adhere to the style guide

David Prévot taffit at moszumanska.debian.org
Sat Apr 19 14:16:16 UTC 2014


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

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

commit 8d2068dc6f891b0123927c1c52940323bd0db774
Author: Tim van der Meij <timvandermeij at gmail.com>
Date:   Sun Mar 9 23:14:01 2014 +0100

    Making extensions/chromium/extension-router.js adhere to the style guide
---
 extensions/chromium/extension-router.js | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/extensions/chromium/extension-router.js b/extensions/chromium/extension-router.js
index e56c45f..6e77252 100644
--- a/extensions/chromium/extension-router.js
+++ b/extensions/chromium/extension-router.js
@@ -18,6 +18,7 @@ limitations under the License.
 /* globals chrome */
 
 'use strict';
+
 (function ExtensionRouterClosure() {
   var VIEWER_URL = chrome.extension.getURL('content/web/viewer.html');
   var CRX_BASE_URL = chrome.extension.getURL('/');
@@ -102,11 +103,11 @@ limitations under the License.
       return { redirectUrl: url };
     }
   }, {
-      types: ['main_frame', 'sub_frame'],
-      urls: schemes.map(function(scheme) {
-        // Format: "chrome-extension://[EXTENSIONID]/<scheme>*"
-        return CRX_BASE_URL + scheme + '*';
-      })
+    types: ['main_frame', 'sub_frame'],
+    urls: schemes.map(function(scheme) {
+      // Format: "chrome-extension://[EXTENSIONID]/<scheme>*"
+      return CRX_BASE_URL + scheme + '*';
+    })
   }, ['blocking']);
 
   chrome.runtime.onMessage.addListener(function(message, sender) {

-- 
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