[Pkg-javascript-commits] [node-browser-pack] 06/27: fix for Opera 10.x

Bastien Roucariès rouca at moszumanska.debian.org
Sun Feb 18 22:35:15 UTC 2018


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

rouca pushed a commit to branch master
in repository node-browser-pack.

commit e805124f7b1e79c5ca66320edf419e68c225fcc4
Author: philippsimon <github at philippsimon.de>
Date:   Tue Jan 2 18:12:39 2018 +0100

    fix for Opera 10.x
---
 package.json |  1 +
 prelude.js   | 10 ++++++++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/package.json b/package.json
index 5bf686f..af3ffc9 100644
--- a/package.json
+++ b/package.json
@@ -35,6 +35,7 @@
       "firefox/10",
       "firefox/latest",
       "safari/latest",
+      "opera/10",
       "opera/latest"
     ]
   },
diff --git a/prelude.js b/prelude.js
index d291c69..9cdb40c 100644
--- a/prelude.js
+++ b/prelude.js
@@ -7,7 +7,9 @@
 // anything defined in a previous bundle is accessed via the
 // orig method which is the requireuire for previous bundles
 
-(function outer (modules, cache, entry) {
+(function() {
+
+function outer(modules, cache, entry) {
     // Save the require from previous bundle to this closure if any
     var previousRequire = typeof require == "function" && require;
 
@@ -41,4 +43,8 @@
 
     // Override the current require with this new one
     return newRequire;
-})
+}
+
+return outer;
+
+})()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-browser-pack.git



More information about the Pkg-javascript-commits mailing list