[Pkg-javascript-commits] [node-q] 07/20: Imported Upstream version 1.1.1

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sun Mar 1 12:36:26 UTC 2015


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

sebastic pushed a commit to branch master
in repository node-q.

commit 3909f0b8e2f2ea3655301f0735a32f67b3315f30
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Feb 28 22:35:38 2015 +0100

    Imported Upstream version 1.1.1
---
 CHANGES.md   | 6 ++++++
 package.json | 2 +-
 q.js         | 4 ++--
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/CHANGES.md b/CHANGES.md
index 14e9c15..26c9b10 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -1,5 +1,11 @@
 <!-- vim:ts=4:sts=4:sw=4:et:tw=70 -->
 
+## 1.1.1
+
+ - Fix a pair of regressions in bootstrapping, one which precluded
+   WebWorker support, and another that precluded support in
+   ``<script>`` usage outright. #607
+
 ## 1.1.0
 
  - Adds support for enabling long stack traces in node.js by setting
diff --git a/package.json b/package.json
index 6af7d53..bb1fa02 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "q",
-  "version": "1.1.0",
+  "version": "1.1.1",
   "description": "A library for promises (CommonJS/Promises/A,B,D)",
   "homepage": "https://github.com/kriskowal/q",
   "author": "Kris Kowal <kris at cixar.com> (https://github.com/kriskowal)",
diff --git a/q.js b/q.js
index 22f1328..49e945a 100644
--- a/q.js
+++ b/q.js
@@ -55,8 +55,8 @@
         }
 
     // <script>
-    } else if (typeof window !== "undefined") {
-        window.Q = Q = definition();
+    } else if (typeof self !== "undefined") {
+        self.Q = definition();
 
     } else {
         throw new Error("This environment was not anticiapted by Q. Please file a bug.");

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



More information about the Pkg-javascript-commits mailing list