diff --git a/package.json b/package.json index 49b01b6..da88567 100755 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "grunt-jade-i18n", "description": "Compile Jade templates via Grunt with internalization support", - "version": "0.3.4", + "version": "0.3.5", "author": { "name": "Tomas Aparicio", "url": "https://github.com/h2non" @@ -16,7 +16,7 @@ "test": "grunt test" }, "dependencies": { - "grunt-contrib-jade": "~0.14.0", + "grunt-contrib-jade": "~0.15.0", "lodash": "~3.5.0" }, "devDependencies": { diff --git a/tasks/i18n.coffee b/tasks/i18n.coffee index 75ca9c9..c26bffa 100755 --- a/tasks/i18n.coffee +++ b/tasks/i18n.coffee @@ -3,11 +3,7 @@ _ = require 'lodash' module.exports = (grunt) -> - try - require 'grunt-contrib-jade' - grunt.loadNpmTasks 'grunt-contrib-jade' - catch e - grunt.loadTasks path.join "#{__dirname}/../node_modules", 'grunt-contrib-jade', 'tasks' + grunt.loadNpmTasks('grunt-contrib-jade') grunt.renameTask 'jade', 'contrib-jade'