mirror of
https://github.com/chaijs/chai
synced 2024-11-14 15:57:10 +00:00
Release 1.1.1
This commit is contained in:
parent
2621414573
commit
b7aae4601f
4 changed files with 49 additions and 35 deletions
14
History.md
14
History.md
|
@ -1,4 +1,18 @@
|
|||
|
||||
1.1.1 / 2012-07-09
|
||||
==================
|
||||
|
||||
* improve commonjs support on browser build
|
||||
* Merge pull request #83 from tkazec/equals
|
||||
* Document .equals
|
||||
* Add .equals as an alias of .equal
|
||||
* remove unused browser prefix/suffix
|
||||
* Merge branch 'feature/folio-build'
|
||||
* browser build
|
||||
* using folio to compile
|
||||
* clean up makefile
|
||||
* early folio 0.3.x support
|
||||
|
||||
1.1.0 / 2012-06-26
|
||||
==================
|
||||
|
||||
|
|
66
chai.js
66
chai.js
|
@ -70,7 +70,7 @@
|
|||
* Chai version
|
||||
*/
|
||||
|
||||
exports.version = '1.1.0';
|
||||
exports.version = '1.1.1';
|
||||
|
||||
/*!
|
||||
* Primary `Assertion` prototype
|
||||
|
@ -258,38 +258,6 @@
|
|||
|
||||
}); // module: chai/assertion.js
|
||||
|
||||
require.register("chai/browser/error.js", function(module, exports, require){
|
||||
/*!
|
||||
* chai
|
||||
* Copyright(c) 2011-2012 Jake Luer <jake@alogicalparadox.com>
|
||||
* MIT Licensed
|
||||
*/
|
||||
|
||||
module.exports = AssertionError;
|
||||
|
||||
function AssertionError (options) {
|
||||
options = options || {};
|
||||
this.message = options.message;
|
||||
this.actual = options.actual;
|
||||
this.expected = options.expected;
|
||||
this.operator = options.operator;
|
||||
|
||||
if (options.stackStartFunction && Error.captureStackTrace) {
|
||||
var stackStartFunction = options.stackStartFunction;
|
||||
Error.captureStackTrace(this, stackStartFunction);
|
||||
}
|
||||
}
|
||||
|
||||
AssertionError.prototype = Object.create(Error.prototype);
|
||||
AssertionError.prototype.name = 'AssertionError';
|
||||
AssertionError.prototype.constructor = AssertionError;
|
||||
|
||||
AssertionError.prototype.toString = function() {
|
||||
return this.message;
|
||||
};
|
||||
|
||||
}); // module: chai/browser/error.js
|
||||
|
||||
require.register("chai/core/assertions.js", function(module, exports, require){
|
||||
/*!
|
||||
* chai
|
||||
|
@ -1343,6 +1311,38 @@
|
|||
|
||||
}); // module: chai/core/assertions.js
|
||||
|
||||
require.register("chai/browser/error.js", function(module, exports, require){
|
||||
/*!
|
||||
* chai
|
||||
* Copyright(c) 2011-2012 Jake Luer <jake@alogicalparadox.com>
|
||||
* MIT Licensed
|
||||
*/
|
||||
|
||||
module.exports = AssertionError;
|
||||
|
||||
function AssertionError (options) {
|
||||
options = options || {};
|
||||
this.message = options.message;
|
||||
this.actual = options.actual;
|
||||
this.expected = options.expected;
|
||||
this.operator = options.operator;
|
||||
|
||||
if (options.stackStartFunction && Error.captureStackTrace) {
|
||||
var stackStartFunction = options.stackStartFunction;
|
||||
Error.captureStackTrace(this, stackStartFunction);
|
||||
}
|
||||
}
|
||||
|
||||
AssertionError.prototype = Object.create(Error.prototype);
|
||||
AssertionError.prototype.name = 'AssertionError';
|
||||
AssertionError.prototype.constructor = AssertionError;
|
||||
|
||||
AssertionError.prototype.toString = function() {
|
||||
return this.message;
|
||||
};
|
||||
|
||||
}); // module: chai/browser/error.js
|
||||
|
||||
require.register("chai/interface/assert.js", function(module, exports, require){
|
||||
/*!
|
||||
* chai
|
||||
|
|
|
@ -11,7 +11,7 @@ var used = []
|
|||
* Chai version
|
||||
*/
|
||||
|
||||
exports.version = '1.1.0';
|
||||
exports.version = '1.1.1';
|
||||
|
||||
/*!
|
||||
* Primary `Assertion` prototype
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"Veselin Todorov <hi@vesln.com>",
|
||||
"John Firebaugh <john.firebaugh@gmail.com>"
|
||||
],
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/chaijs/chai"
|
||||
|
|
Loading…
Reference in a new issue