diff --git a/package.json b/package.json index 31aef39..f615f84 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "test": "grunt test" }, "dependencies": { - "underscore": "~1.3.3", + "lodash": "~1.0.0", "grunt-lib-contrib": "~0.3.0" }, "devDependencies": { diff --git a/tasks/jst.js b/tasks/jst.js index e589470..22939a5 100644 --- a/tasks/jst.js +++ b/tasks/jst.js @@ -10,7 +10,7 @@ module.exports = function(grunt) { - var _ = require('underscore'); + var _ = require('lodash'); // filename conversion for templates var defaultProcessName = function(name) { return name; }; diff --git a/test/expected/amd_wrapper.js b/test/expected/amd_wrapper.js index ae75be8..9f47f23 100644 --- a/test/expected/amd_wrapper.js +++ b/test/expected/amd_wrapper.js @@ -2,14 +2,13 @@ define(function(){ this["JST"] = this["JST"] || {}; -this["JST"]["test/fixtures/template.html"] = function(obj){ -var __p='';var print=function(){__p+=Array.prototype.join.call(arguments, '')}; -with(obj||{}){ -__p+='