Permalink
Browse files

errata fixes

  • Loading branch information...
zzo committed Aug 13, 2013
1 parent 297e792 commit f71c766a0b44ae4af8e5b8a551955b1c7b56b444
Showing with 5 additions and 4 deletions.
  1. +1 −0 ch2/pg17
  2. +2 −2 ch4/pg112
  3. +1 −1 ch5/pg124
  4. +1 −1 ch6/pg151
View
@@ -4,6 +4,7 @@ var fields {
};
function configure(values) {
var config = {};
for (var key in fields) {
if (typeof values[key] !== 'undefined') {
fields[key].validator(values[key]);
View
@@ -1,12 +1,12 @@
mySum = require('./mySumFunc');
describe("Sum suite Functions", function() {
it("Adds By Param!", function() {
var sum = mySum.sum(mySum.getByParam, [6,6]));
var sum = mySum.sum(mySum.getByParam, [6,6]);
expect(sum).toEqual(12);
});
it("Adds By File!", function() {
var sum = mySum.sum(mySum.getByFile, ["strings"]));
var sum = mySum.sum(mySum.getByFile, ["strings"]);
expect(sum).toEqual("testableJavaScript");
});
});
View
@@ -3,5 +3,5 @@ var tempFile = PATH.join(coverageBase, PATH.basename(file));
;
exec('java -jar ' + coverageJar + " -o " + tempFile + " " + realFile
, function(err) {
FILES_FOR_COVERAGE[keep] = 1;
COVERAGE_ME[file] = 1;
});
View
@@ -4,7 +4,7 @@ var Proxy = require('browsermob-proxy').Proxy
;
var proxy = new Proxy();
proxy.selHAR('MyCoolHARFile', doCasperJSStuff, function(err, data) {
proxy.cbHAR('MyCoolHARFile', doCasperJSStuff, function(err, data) {
if (err) {
console.error('ERR: ' + err);
} else {

0 comments on commit f71c766

Please sign in to comment.