By Developers, For Developers
| PDF Pg | Paper Pg | Type | Description | Fixed on | Comments |
|---|---|---|---|---|---|
| 19 | TYPO | In the “Accessing Configuration inside Tasks” caption at the end of chapter 2: | 2014-09-20 | ||
| 19 | TYPO | Within the inset: Need to remove “to” | 2014-09-20 | ||
| 44 | TYPO | At ‘Watching Files for Changes’ in the Gruntfile.js code block for setting up ‘watch’, it says to watch the folder ‘coffeescripts//..’ I think that folder should be ‘coffeescript’ . | 2014-09-20 | ||
| 33 | OK | I cant get `bower install markdown#0.6.0-beta1` to work. It claims no known version. I have the latest version of bower (1.3.3). I’ve just installed from source instead. :) | 2014-09-20 | Seems to work from here - I get prompted to choose it as the second option and it installs fine. | |
| 52 | TYPO | $ grunt open:http:\\://google.com… this doesn’t work.. need to double escape, at least with mac… $ grunt open:http\\\\://google.com <—- this works | 2014-09-20 | ||
| 38 | SUGGEST | In example code: multitasks/angular/Gruntfile.js I found variable, sources, inside this.files.forEach never be declared with var keyword. The code works fine and has no problem. But, first time I saw this variable, I don’t know it is a local variable or a global one which you already declared somewhere else. | 2014-09-20 | ||
| 13 | TYPO | In the section “Creating a Folder” the first sentence starts with “Grunt’s built-in grunt.util.mkdir() method creates folders”. This should be: “Grunt’s built-in grunt.file.mkdir() method creates folders”. | 2014-09-20 | ||
| 22 | TYPO | About halfway on this page it says “we define the configuration section using grunt.initConfig(),”. This should be “we define the configuration section using grunt.config.init(),” | 2014-09-20 | ||
| 38 | ERROR | I couldn’t get “grunt-contrib-uglify”: “~0.2.2” to the devDependencies of package.json This is on fedora 20 | 2014-09-20 | After retesting I can only assume you missed the --save-dev part of the `npm install grunt-contrib-uglify' command. Works from here. | |
| 52 | TYPO | I’m not sure if it’s just my copy of Grunt, but the statement: doesn’t work when the open_with_chrome.js task lives in the ‘tasks/’ directory. changing it to: (going up a directory) Seems to make it work. | 2014-09-20 | Can't seem to reproduce. Adding `../` causes it to break on OSX. \n | |
| 11 | TYPO | The directory in the mkdir statement should be “deploying” not “deployment”. | 2014-09-20 | ||
| 22 | ERROR | The zip codes in the weather config object should be in quotes since some zip codes start with a 0. | 2014-09-20 | That's a great point. Fixed! | |
| 21 | TYPO | The value of “concat.basic.src” in the example reads “[‘src/awsome.js’]”, rather than “[‘src/awesome.js’]”. | 2014-09-20 | ||
| 46 | ERROR | It seems that the `preprocess` lifecycle event doesn’t exist by default. Probably the API has changed and/or the author meant to use the `prepublish` event. | 2015-04-23 | ||
| 27-28 | TYPO | “We can access the targets as an array. We iterate over the targets and grab the sources… On line 3 we iterate over the various targets. In a multitask, we use the files property to access the configured targets and … as Grunt allows for several methods of configuring targets | |||
| 48 | TYPO | “Grunt comes with grunt.util.spawn(), which is perfect for this.” But then spawn() isn’t used in the code that follows… exec() is used. | 2015-04-23 | ||
| 52 | TYPO | “So, create Gruntfile.js as the package.json file:” | 2015-04-23 | ||
| 49 | TYPO | “With the Revealing Module Pattern we define a function that returns a JavaScript object that we create. This allows us to have both public and private methods on this object.” The returned object is the public interface — it doesn’t have any private methods. | 2015-04-23 | ||
| 49 | TYPO | “With the Revealing Module Pattern we define a function that returns a JavaScript object that we create. This allows us to have both public and private methods on this object.” The returned object is the public interface — it doesn’t have any private methods. | 2015-04-23 | ||
| 89 | TYPO | loadNpmModule should read loadNpmTask. | |||
| 6 | ERROR | When I try to run the command grunt addNumbers:1:2 I get a message saying that grunt cannot find the task. See code below. module.exports = function(grunt){ grunt.registerTask(‘addNumbers;, function(first, second) { grunt.registerTask(‘default’, function(){ } |