Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed errors according to the latest cheerio release

  • Loading branch information...
commit ad323ceba047a8013743e289b979ce49ac1b4bb1 1 parent f3e1b00
Sebastian Golasch authored
Showing with 3 additions and 4 deletions.
  1. +2 −2 package.json
  2. +1 −2  tasks/require.js
4 package.json
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": [
3  tasks/require.js
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'];
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.