Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bugfix: transformed requirejs task from registerMultiTask to just reg…

…isterTask
  • Loading branch information...
commit e8ad44718c00c089f60ae0af03a46fd526ec9d5a 1 parent 47a17a7
@asciidisco authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  package.json
  2. +2 −2 tasks/require.js
View
2  package.json
@@ -1,7 +1,7 @@
{
"name": "grunt-requirejs",
"description": "Using requirejs and almond with grunt",
- "version": "0.2.1",
+ "version": "0.2.2",
"homepage": "https://github.com/asciidisco/grunt-requirejs",
"author": {
"name": "asciidisco",
View
4 tasks/require.js
@@ -57,9 +57,9 @@ module.exports = function(grunt) {
// TASKS
// ==========================================================================
- grunt.registerMultiTask('requirejs', 'Runs requirejs optimizer', function() {
+ grunt.registerTask('requirejs', 'Runs requirejs optimizer', function() {
var done = this.async(),
- rqConfig = this.data;
+ rqConfig = config.get('requirejs');
// log process start
log.ok('RequireJS optimizer started');
Please sign in to comment.
Something went wrong with that request. Please try again.