| OLD | NEW |
| 1 <script> | 1 <script> |
| 2 | 2 |
| 3 // FIXME: This really could be trimmed down from all the generic and commonjs cr
ap. | 3 // FIXME: This really could be trimmed down from all the generic and commonjs cr
ap. |
| 4 | 4 |
| 5 ;(function(){ | 5 ;(function(){ |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * Require the given path. | 8 * Require the given path. |
| 9 * | 9 * |
| 10 * @param {String} path | 10 * @param {String} path |
| (...skipping 949 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 960 * User configurable property, influences whether stack trace | 960 * User configurable property, influences whether stack trace |
| 961 * is included in Assertion error message. Default of false | 961 * is included in Assertion error message. Default of false |
| 962 * suppresses stack trace in the error message. | 962 * suppresses stack trace in the error message. |
| 963 * | 963 * |
| 964 * chai.config.includeStack = true; // enable stack on error | 964 * chai.config.includeStack = true; // enable stack on error |
| 965 * | 965 * |
| 966 * @param {Boolean} | 966 * @param {Boolean} |
| 967 * @api public | 967 * @api public |
| 968 */ | 968 */ |
| 969 | 969 |
| 970 includeStack: false, | 970 includeStack: true, |
| 971 | 971 |
| 972 /** | 972 /** |
| 973 * ### config.showDiff | 973 * ### config.showDiff |
| 974 * | 974 * |
| 975 * User configurable property, influences whether or not | 975 * User configurable property, influences whether or not |
| 976 * the `showDiff` flag should be included in the thrown | 976 * the `showDiff` flag should be included in the thrown |
| 977 * AssertionErrors. `false` will always be `false`; `true` | 977 * AssertionErrors. `false` will always be `false`; `true` |
| 978 * will be true when the assertion has requested a diff | 978 * will be true when the assertion has requested a diff |
| 979 * be shown. | 979 * be shown. |
| 980 * | 980 * |
| (...skipping 11 matching lines...) Expand all Loading... |
| 992 * the value is truncated. | 992 * the value is truncated. |
| 993 * | 993 * |
| 994 * Set it to zero if you want to disable truncating altogether. | 994 * Set it to zero if you want to disable truncating altogether. |
| 995 * | 995 * |
| 996 * chai.config.truncateThreshold = 0; // disable truncating | 996 * chai.config.truncateThreshold = 0; // disable truncating |
| 997 * | 997 * |
| 998 * @param {Number} | 998 * @param {Number} |
| 999 * @api public | 999 * @api public |
| 1000 */ | 1000 */ |
| 1001 | 1001 |
| 1002 truncateThreshold: 40 | 1002 truncateThreshold: 0 |
| 1003 | 1003 |
| 1004 }; | 1004 }; |
| 1005 | 1005 |
| 1006 }); | 1006 }); |
| 1007 require.register("chai/lib/chai/core/assertions.js", function(exports, require,
module){ | 1007 require.register("chai/lib/chai/core/assertions.js", function(exports, require,
module){ |
| 1008 /*! | 1008 /*! |
| 1009 * chai | 1009 * chai |
| 1010 * http://chaijs.com | 1010 * http://chaijs.com |
| 1011 * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com> | 1011 * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com> |
| 1012 * MIT Licensed | 1012 * MIT Licensed |
| (...skipping 3762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4775 require.alias("chaijs-type-detect/lib/type.js", "chaijs-deep-eql/deps/type-detec
t/lib/type.js"); | 4775 require.alias("chaijs-type-detect/lib/type.js", "chaijs-deep-eql/deps/type-detec
t/lib/type.js"); |
| 4776 require.alias("chaijs-type-detect/lib/type.js", "chaijs-deep-eql/deps/type-detec
t/index.js"); | 4776 require.alias("chaijs-type-detect/lib/type.js", "chaijs-deep-eql/deps/type-detec
t/index.js"); |
| 4777 require.alias("chaijs-type-detect/lib/type.js", "chaijs-type-detect/index.js"); | 4777 require.alias("chaijs-type-detect/lib/type.js", "chaijs-type-detect/index.js"); |
| 4778 require.alias("chaijs-deep-eql/lib/eql.js", "chaijs-deep-eql/index.js"); | 4778 require.alias("chaijs-deep-eql/lib/eql.js", "chaijs-deep-eql/index.js"); |
| 4779 require.alias("chai/index.js", "chai/index.js"); | 4779 require.alias("chai/index.js", "chai/index.js"); |
| 4780 | 4780 |
| 4781 window.assert = require("chai").assert; | 4781 window.assert = require("chai").assert; |
| 4782 | 4782 |
| 4783 })(); | 4783 })(); |
| 4784 </script> | 4784 </script> |
| OLD | NEW |