Permalink
Browse files

Fixed a problem with the Object.create shim.

  • Loading branch information...
1 parent e045fb5 commit 3bfabd37c1528b0242bfdcd2f394143ce2eb0950 @kriskowal kriskowal committed Nov 23, 2010
Showing with 9 additions and 8 deletions.
  1. +2 −1 CHANGES
  2. +1 −1 lib/q.js
  3. +1 −1 package.json
  4. +0 −5 q-0.1.7.min.js
  5. +5 −0 q-0.1.8.min.js
View
@@ -1,6 +1,7 @@
-Next Release
+0.1.8
- Fixed isResolved(null) and isResolved(undefined) [issue #9]
+ - Fixed a problem with the Object.create shim
0.1.7
- shimmed ES5 Object.create in addition to Object.freeze
View
@@ -81,7 +81,7 @@ var freeze = Object.freeze || identity;
var create = Object.create || function create(prototype) {
var Type = function () {};
Type.prototype = prototype;
- object = new Type();
+ return new Type();
}
/**
View
@@ -1,7 +1,7 @@
{
"name": "q",
"description": "defer/when-style promises (CommonJS/Promises/B)",
- "version": "0.1.7",
+ "version": "0.1.8",
"homepage": "http://github.com/kriskowal/q/",
"author": "Kris Kowal <kris@cixar.com> (http://github.com/kriskowal/)",
"contributors": [
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 3bfabd3

Please sign in to comment.