Permalink
Browse files

Fixed errors according to the latest cheerio release

  • Loading branch information...
1 parent f3e1b00 commit ad323ceba047a8013743e289b979ce49ac1b4bb1 @asciidisco committed Oct 1, 2012
Showing with 3 additions and 4 deletions.
  1. +2 −2 package.json
  2. +1 −2 tasks/require.js
View
@@ -1,7 +1,7 @@
{
"name": "grunt-requirejs",
"description": "Using requirejs and almond with grunt",
- "version": "0.2.12",
+ "version": "0.2.13",
"homepage": "https://github.com/asciidisco/grunt-requirejs",
"author": {
"name": "asciidisco",
@@ -33,7 +33,7 @@
"dependencies": {
"grunt": ">=0.3.9",
"requirejs": ">=2.0.x",
- "cheerio": "latest",
+ "cheerio": "0.9.2",
"almond": "latest"
},
"keywords": [
View
@@ -216,8 +216,7 @@ module.exports = function (grunt) {
configClone.modules[idx].name = 'almond';
} else {
if (!_.isUndefined(configClone.modules)) {
- configClone.modules[idx].include = [configClone.modules[idx].name];
- configClone.modules[idx].name = 'almond';
+ configClone.modules[idx].include = ['almond'];
}
}

0 comments on commit ad323ce

Please sign in to comment.